Java enabled db-4.1.25 doesn't compile
Reported by: |
sfricke@… |
Owned by: |
tushar@… |
Priority:
|
low
|
Milestone:
|
|
Component:
|
BOOK
|
Version:
|
~CVS
|
Severity:
|
normal
|
Keywords:
|
|
Cc:
|
|
|
|
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.
Change History
(13)
Resolution: |
→ later
|
Status: |
new → closed
|
Milestone: |
future → 6.0
|
Resolution: |
later
|
Status: |
closed → reopened
|
Status: |
reopened → assigned
|
Owner: |
changed from blfs-book@… to tushar@…
|
Status: |
assigned → new
|
Resolution: |
→ worksforme
|
Status: |
assigned → closed
|
Is this something that happens when Sun Java is not installed? Can test later if no one is sure. I have not see this on any of my builds yet.