Java enabled db-4.1.25 doesn't compile
|Reported by:||Owned by:|
I compiled GCC 3.2.1 with Java support to be able to compile db-4.1.25 with Jave support afterwards. After compiling GCC successfully I couldn't compile db. I got the following message: cc -c -I. -I../dist/.. -I../dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -O2 ../dist/../libdb_java/java_Db.c -fPIC -DPIC -o .libs/java_Db.lo In file included from ../libdb_java/java_Db.c:13: /usr/include/jni.h:17:31: gcj/libgcj-config.h: No such file or directory make: * [java_Db.lo] Error 1 Well, I can provide a fix for the bug. I searched for the file libgcj-config.h and found it at gcc-build/i686-pc-linux-gnu/libjava/gcj/libgcj-config.h I copied it to usr/include/gcj and afterwards I could compile db successfully.