Hi,
after solving my little ant issue I ran into "could not open jni.h".
Google told me that I should set additional include directories through
CPPFLAGS. That did not work out :(. The compiler call show
-INO_JAVA_HOME/include/solaris. Is that because of --without-java, do I
have to set NO_JAVA_HOME?
CC=cc CXX=CC ./configure CPPFLAGS="-I/usr/jdk/latest/include/
-I/usr/jdk/latest/include/solaris" --disable-build-mozilla
--disable-mediawiki --with-use-shell=bash
--with-jdk-home=/usr/jdk/latest/ --with-system-curl --without-java
--with-epm=internal --with-system-libxml --with-system-python
--with-ant-home=/usr/bin
[...]
Making: ../unxsoli4.pro/slo/classpath.obj
CC -c -temp=/tmp -xarch=generic -xO3 -xspace -I.
-I../unxsoli4.pro/inc/jvmaccess -I../inc -I../inc/pch -I../inc
-I../unx/inc -I../unxsoli4.pro/inc -I.
-I/export/home/nixnutz/oo.org-m28/solver/300/unxsoli4.pro/inc/stl
-I/export/home/nixnutz/oo.org-m28/solver/300/unxsoli4.pro/inc/external
-I/export/home/nixnutz/oo.org-m28/solver/300/unxsoli4.pro/inc
-I/export/home/nixnutz/oo.org-m28/solenv/unxsoli4/inc
-I/export/home/nixnutz/oo.org-m28/solenv/inc
-I/export/home/nixnutz/oo.org-m28/res
-I/export/home/nixnutz/oo.org-m28/solver/300/unxsoli4.pro/inc/stl
-I/include -I/export/home/nixnutz/oo.org-m28/solenv/inc/Xp31
-INO_JAVA_HOME/include -INO_JAVA_HOME/include/solaris
-INO_JAVA_HOME/include/native_threads/include
-I/export/home/nixnutz/oo.org-m28/solver/300/unxsoli4.pro/inc/offuh -I.
-I../res -I. -features=no%altspell -library=no%Cstd +w2
-erroff=doubunder,identexpected,inllargeuse,inllargeint,notemsource,reftotemp,truncwarn
-KPIC -mt -DSOLARIS -DUNX -DVCL -DC52 -DC52 -DINTEL -DCVER=C52
-D_PTHREADS -DSYSV -DSUN -DSUN4 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS
-DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=sunpro5 -DSUPD=300
-DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI
-DSOLAR_JAVA -DSHAREDLIB -D_DLL_ -DEXCEPTIONS_ON -o
../unxsoli4.pro/slo/classpath.o
/export/home/nixnutz/oo.org-m28/jvmaccess/source/classpath.cxx
"../inc/jvmaccess/classpath.hxx", line 38: Error: Could not open include
file "jni.h".
"../inc/jvmaccess/classpath.hxx", line 82: Error: jobjectArray is not
defined.
"../inc/jvmaccess/classpath.hxx", line 83: Error: "inline" is not
allowed here.
"../inc/jvmaccess/classpath.hxx", line 83: Error: "," expected instead
of "(".
"../inc/jvmaccess/classpath.hxx", line 119: Error: Use ";" to terminate
declarations.
"../inc/jvmaccess/classpath.hxx", line 119: Error: jclass is not defined.
"../inc/jvmaccess/classpath.hxx", line 119: Error: "inline" is not
allowed here.
"../inc/jvmaccess/classpath.hxx", line 119: Error: "," expected instead
of "(".
"../inc/jvmaccess/classpath.hxx", line 130: Error: Use ";" to terminate
declarations.
"/export/home/nixnutz/oo.org-m28/jvmaccess/source/classpath.cxx", line
52: Error: Could not open include file "jni.h".
Thanks!
Ulf
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]