Likely due to your $JAVA_HOME.

If you don't have Java installed, then compile with aimk flags: -no-java -no-jni

Otherwise, make sure it is set correctly:

1) Find the java real directory:
$ readlink -f `which java`
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/bin/java

2) set the JAVA_HOME env. var:
$ setenv JAVA_HOME /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/

("export" instead of "setenv" for bash/sh/ksh)

The $JAVA_HOME/include has to contain "jni.h" or else you won't be
able to compile the JNI related code in Grid Engine.

Rayson



On Wed, Dec 7, 2011 at 3:12 PM, Prentice Bisbal <[email protected]> wrote:
> I'm trying to compile GE2011.11. I downloaded the tarball from
> sourceforge. And I'm getting this error:
>
> In file included from /usr/include/_G_config.h:44,
> from /usr/include/libio.h:32,
> from /usr/include/stdio.h:72,
> from ../libs/sgeobj/config.c:33:
> /usr/include/gconv.h:72: error: expected declaration specifiers or ‘...’
> before ‘size_t’
> /usr/include/gconv.h:88: error: expected declaration specifiers or ‘...’
> before ‘size_t’
> /usr/include/gconv.h:97: error: expected declaration specifiers or ‘...’
> before ‘size_t’
> /usr/include/gconv.h:174: error: expected specifier-qualifier-list
> before ‘size_t’
> In file included from /usr/include/stdio.h:72,
>
> I'm sure I'm missing some include file(s) somewhere, but I can't figure
> out which one. Of, course when I google for these errors, I get
> a bazillion hits for other errors include the string "size_t", so it
> hasn't been very fruitful.
>
> Any assistance will be greatly appreciated. I'm sure it's something
> minor. I'm building on a RHEL 5.7 system, using gcc
>
> --
> Prentice
>
> _______________________________________________
> users mailing list
> [email protected]
> https://gridengine.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
https://gridengine.org/mailman/listinfo/users

Reply via email to