From: Steve F. <sfi...@pc...> - 2006-05-02 19:08:07
|
have you checked the permissions on the core.algorithm table? steve John F Flynn III wrote: > Hmmm. Is there a way to make the build process more verbose so that I > can find out what exactly is failing? > > As far as I can tell, everything seems successful up to the point > where those compilation failures occur. > > -John > > Steve Fischer wrote: > >> john- >> >> as you might know gus provides a perl and a java object layer. each >> gus table is represented by a perl object and by a java object. >> >> part of the intall process is a code-generation step that generates 3 >> perl files and 3 java files per gus table. >> >> then, after that, the install compiles the generated java files. >> >> this compile error is during that compile. >> >> it means that the code generation step didn't work right. in >> particular, what happened is that the code generator did not >> successfully get info from postgresql on what the type of the >> Core.Algorithm column is. >> >> i'm not certain, but, i think this is brought about when you have a >> correct list of all the gus tables and views is core.tableinfo (which >> is where the code-generator looks to find out what tables exist), >> but, that the actual tables are not accessible to the code >> generator. this sometimes happens because of permissions. so, you >> need to make sure that Core.Algorithm is defined and accessible. >> >> steve >> >> John F Flynn III wrote: >> >>> Hiya folks! This is John Flynn from the Florida International >>> University School of Computer Science. We are trying to build GUSdb >>> and are running into issues. >>> >>> Apologies if anyone sees this twice, but I opened a bugzilla bug and >>> no one has responded, so I'm assuming no one is listening over >>> there. Hopefully someone here can help us. >>> >>> I read the list through archives, so if anyone responds, please CC >>> me as well as the list so I see the message sooner. Thanks! >>> >>> Basically, the GUS build process fails with numerous compilation >>> errors. >>> >>> >>> I ensured all the requirements were met, set up the database, and >>> set up the configuration file as follows: >>> >>> ==begin configuration file snippet== >>> dbVendor=Postgres >>> dbiDsn=dbi:Pg:dbname=gusdb;host=localhost >>> jdbcDsn=jdbc:postgresql://localhost/gusdb >>> >>> # Login and Password to the RDBMS >>> >>> databaseLogin=gusdb >>> databasePassword=<password here> >>> >>> # Username, group, and project info from the relevant Core tables >>> >>> userName=dba >>> group=dba >>> project=Database administration >>> >>> tablespace=GUS >>> ==End configuration file snippet== >>> >>> Relevant software versions follow: >>> >>> CentOS 4.3 >>> J2SE 1.5 >>> Ant 1.6.5 >>> Postgresql 7.4 >>> Perl 5.8.5 with required modules >>> >>> Error output follows: >>> >>> >>> [echo] Installing GUS/Model >>> [javac] Compiling 1260 source files to >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/classes >>> [javac] >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/src/java/org/gusdb/model/Core/Algorithm_Row.java:78: >>> >>> cannot find symbol >>> [javac] symbol : class notdefyet >>> [javac] location: class org.gusdb.model.Core.Algorithm_Row >>> [javac] public void setModificationDate (notdefyet value) >>> [javac] ^ >>> [javac] >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/src/java/org/gusdb/model/Core/Algorithm_Row.java:83: >>> >>> cannot find symbol >>> [javac] symbol : class notdefyet >>> [javac] location: class org.gusdb.model.Core.Algorithm_Row >>> [javac] public notdefyet getModificationDate () { return >>> (notdefyet)get_Attribute("modification_date"); } >>> [javac] ^ >>> [javac] >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/src/java/org/gusdb/model/Core/ProjectInfo_Row.java:78: >>> >>> cannot find symbol >>> [javac] symbol : class notdefyet >>> [javac] location: class org.gusdb.model.Core.ProjectInfo_Row >>> [javac] public void setModificationDate (notdefyet value) >>> [javac] ^ >>> [javac] >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/src/java/org/gusdb/model/Core/ProjectInfo_Row.java:83: >>> >>> cannot find symbol >>> [javac] symbol : class notdefyet >>> [javac] location: class org.gusdb.model.Core.ProjectInfo_Row >>> [javac] public notdefyet getModificationDate () { return >>> (notdefyet)get_Attribute("modification_date"); } >>> [javac] ^ >>> [javac] >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/src/java/org/gusdb/model/Core/AlgorithmInvocation_Row.java:54: >>> >>> cannot find symbol >>> [javac] symbol : class notdefyet >>> [javac] location: class >>> org.gusdb.model.Core.AlgorithmInvocation_Row >>> [javac] public void setStartTime (notdefyet value) >>> [javac] ^ >>> [javac] >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/Model/src/java/org/gusdb/model/Core/AlgorithmInvocation_Row.java:59: >>> >>> cannot find symbol >>> [javac] symbol : class notdefyet >>> [javac] location: class >>> org.gusdb.model.Core.AlgorithmInvocation_Row >>> [javac] public notdefyet getStartTime () { return >>> (notdefyet)get_Attribute("start_time"); } >>> [javac] ^ >>> ....snipped; this goes on with similar errors for many pages... >>> [javac] ^ >>> [javac] Note: Some input files use unchecked or unsafe operations. >>> [javac] Note: Recompile with -Xlint:unchecked for details. >>> [javac] 100 errors >>> >>> BUILD FAILED >>> /home/acrl-storage-1/gusdb/GUS/project_home/install/build.xml:28: >>> The following >>> error occurred while executing this line: >>> /home/acrl-storage-1/gusdb/GUS/project_home/GUS/build.xml:99: The >>> following >>> error occurred while executing this line: >>> /home/acrl-storage-1/gusdb/GUS/project_home/install/build.xml:259: The >>> following error occurred while executing this line: >>> /home/acrl-storage-1/gusdb/GUS/project_home/install/build.xml:278: >>> Compile >>> failed; see the compiler error output for details. >>> >>> Total time: 18 seconds >>> > |