Re: Problems compiling Sun Grid Engine code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



orion@xxxxxxxxxxxxx wrote:
Orion Poplawski wrote:
    
Orion Poplawski wrote:
      
Thomas Fitzsimmons wrote:
        
Calendar.compareTo was added in 1.5.  Is it possible that you're
compiling 1.4-level source code?  If so, this represents a breakage
in source compatibility.  The usual resolution is to stub or
implement the inherited abstract method.

Tom
          
Changing target from 1.4 to 1.5 in the build.xml file fixed it.
Thanks!

Next step, where can I find the javacc class for ant?

        
Ah, dejavu:

https://bugzilla.redhat.com/show_bug.cgi?id=225196

      
Seems like you need ant-nodeps.

    

Indeed, that gets me farther, thanks!

No I get:

     [java]      [java] BUILD FAILED
     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/build.xml:1060: The
following error occurred while executing this line:
     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/cullconv/build.xml:49:
The following error occurred while executing this line:
     [java]      [java]
/builddir/build/BUILD/gridengine/source/libs/jgdi/cullconv/build.xml:62:
JavaCC home must be a valid directory.

The relevant section of build.xml is:

      <javacc javacchome="${javacc.home}"
              outputdirectory="${basedir}/build/gensrc/com/sun/grid/cull"
              target="${basedir}/Cull.jj"
              static="true"/>

Now, I have no idea what javacc.home is being set to, or what it should
be, or how to set it if I need to.  Any ideas?

- Orion


  
Do you have javacc installed? I think you can try setting javacc.home to /usr/share/java/ where javacc.jar is.
--
fedora-devel-java-list mailing list
fedora-devel-java-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-java-list

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux