Hi All,
It has been far too long since I've done C/C++ devl so I'm probably
being a bonehead. Any help would be greatly appreciated...
I got the source for subversion and I'm trying to get the javahl stuff
to compile.
cd .../subversion/bindings/java/javahl
./autogen.sh
./configure
--with-jdk=/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/
Home
make
tons of errors which seem to all stem from this
SVNClient.h:28:17: jni.h: No such file or directory
For some reason the $(JDK)/include directory is not making it into the
include directors for g++.
Here is the output of running make up to the failed look for jni.h
>make
Making all in src
make[1]: Nothing to be done for `all'.
Making all in native
make all-am
source='SVNClient.cpp' object='SVNClient.lo' libtool=yes \
depfile='.deps/SVNClient.Plo' tmpdepfile='.deps/SVNClient.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile g++ -DPACKAGE_NAME=\"javahl\"
-DPACKAGE_TARNAME=\"javahl\" -DPACKAGE_VERSION=\"0.32.1\"
-DPACKAGE_STRING=\"javahl\ 0.32.1\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"javahl\" -DVERSION=\"0.32.1\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -I. -I. -g -O2 -g -O2 -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/Users/bdudney/Development/svn/apr/include
-I/Users/bdudney/Development/svn/apr-util/include
-I/usr/local/BerkeleyDB.4.2/include
-I/Users/bdudney/Development/svn/apr-util/xml/expat/lib
-I../../../../include -c -o SVNClient.lo `test -f 'SVNClient.cpp' ||
echo './'`SVNClient.cpp
g++ -DPACKAGE_NAME=\"javahl\" -DPACKAGE_TARNAME=\"javahl\"
-DPACKAGE_VERSION=\"0.32.1\" "-DPACKAGE_STRING=\"javahl 0.32.1\""
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"javahl\" -DVERSION=\"0.32.1\"
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
-DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -I. -I. -g -O2 -g -O2 -DDARWIN
-DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
-I/Users/bdudney/Development/svn/apr/include
-I/Users/bdudney/Development/svn/apr-util/include
-I/usr/local/BerkeleyDB.4.2/include
-I/Users/bdudney/Development/svn/apr-util/xml/expat/lib
-I../../../../include -c SVNClient.cpp -MT SVNClient.lo -MD -MP -MF
.deps/SVNClient.TPlo -fno-common -DPIC -o .libs/SVNClient.o
In file included from SVNClient.cpp:22:
SVNClient.h:28:17: jni.h: No such file or directory
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 3 23:17:12 2004