Opened 18 years ago

Closed 18 years ago

Last modified 13 years ago

#319 closed defect (worksforme)

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:

Description

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)

comment:1 by larry@…, 18 years ago

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.

comment:2 by tushar@…, 18 years ago

This is realted to using gcc-gcj instead of the official jdk.

I plan to check the compatibility of java packages with gcj, will look into this at that time.

comment:3 by tushar@…, 18 years ago

Resolution: later
Status: newclosed

comment:4 by alexander@…, 18 years ago

blocked: 351

comment:5 by tushar@…, 18 years ago

blocked: 351

comment:6 by tushar@…, 18 years ago

Milestone: future6.0
Resolution: later
Status: closedreopened

5.0 is out, reopen all bugs.

comment:7 by tushar@…, 18 years ago

Status: reopenedassigned

comment:8 by tushar@…, 18 years ago

Owner: changed from blfs-book@… to tushar@…
Status: assignednew

comment:9 by tushar@…, 18 years ago

Status: newassigned

comment:10 by tushar@…, 18 years ago

dependson: 370

comment:11 by tushar@…, 18 years ago

Resolution: worksforme
Status: assignedclosed

The compilation worked with jdkgcj-0.3.1 and gcc-3.3.2. If the bug persists please reopen this bug.

comment:12 by tushar@…, 18 years ago

jdkgcj is not in the book.

comment:13 by (none), 13 years ago

Milestone: 6.0

Milestone 6.0 deleted

Note: See TracTickets for help on using tickets.