View previous topic :: View next topic |
Author |
Message |
Milton Taidi Sonoda n00b
Joined: 22 Jul 2006 Posts: 5 Location: BRASIL
|
Posted: Sat Jul 22, 2006 11:09 am Post subject: emerge db problem jni.h: No such file or directory |
|
|
Hi
I found problems while installing db
through
emerge db
every thing started to get bad
after the following message
/bin/sh ./libtool --mode=compile i686-pc-linux-gnu-cc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -O3 -pipe -march=pentium4 ../dist/../libdb_java/db_java_wrap.c
i686-pc-linux-gnu-cc -c -I. -I../dist/.. -D_GNU_SOURCE -D_REENTRANT -O3 -pipe -march=pentium4 ../dist/../libdb_java/db_java_wrap.c -fPIC -DPIC -o .libs/db_java_wrap.o
../dist/../libdb_java/db_java_wrap.c:15:17: jni.h: No such file or directory
../dist/../libdb_java/db_java_wrap.c:39: error: syntax error before '*' token
../dist/../libdb_java/db_java_wrap.c: In function `SWIG_JavaThrowException':
../dist/../libdb_java/db_java_wrap.c:40: error: `jclass' undeclared (first use in this function)
../dist/../libdb_java/db_java_wrap.c:40: error: (Each undeclared identifier is reported only once
../dist/../libdb_java/db_java_wrap.c:40: error: for each function it appears in.)
../dist/../libdb_java/db_java_wrap.c:40: error: syntax error before "excep"
../dist/../libdb_java/db_java_wrap.c:54: error: `code' undeclared (first use in this function)
../dist/../libdb_java/db_java_wrap.c:57: error: `jenv' undeclared (first use in this function)
and so on
Any help is apreciated
Milton Taidi Sonoda |
|
Back to top |
|
|
Philantrop Retired Dev
Joined: 21 Dec 2004 Posts: 1130 Location: Germany
|
Posted: Sat Jul 22, 2006 12:19 pm Post subject: |
|
|
Either emerge db without the "java" USE flag set or emerge a sun-jdk (I recommend dev-java/sun-jdk). _________________ If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting. |
|
Back to top |
|
|
Milton Taidi Sonoda n00b
Joined: 22 Jul 2006 Posts: 5 Location: BRASIL
|
Posted: Mon Jul 31, 2006 12:26 pm Post subject: |
|
|
Thank you for your post Philantrop
I've done both.
I've tried emerge sun-jdk and blackdown-jdk
but none solved.
So I decided to
USE="-java" emerge db
but this sounds to me I'm skiping the
problem, insted of solve it.
More over, every time I try to
"emerge -DN" some package
the db is selected to be recompiled
with java. I'm skiping this problem
doing "emerge -N" only. |
|
Back to top |
|
|
|