Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge db problem jni.h: No such file or directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Milton Taidi Sonoda
n00b
n00b


Joined: 22 Jul 2006
Posts: 5
Location: BRASIL

PostPosted: Sat Jul 22, 2006 11:09 am    Post subject: emerge db problem jni.h: No such file or directory Reply with quote

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
View user's profile Send private message
Philantrop
Retired Dev
Retired Dev


Joined: 21 Dec 2004
Posts: 1130
Location: Germany

PostPosted: Sat Jul 22, 2006 12:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
Milton Taidi Sonoda
n00b
n00b


Joined: 22 Jul 2006
Posts: 5
Location: BRASIL

PostPosted: Mon Jul 31, 2006 12:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum