Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
!!! ERROR: sys-libs/db-4.1.25_p1-r3 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
dleifelohcs
Apprentice
Apprentice


Joined: 10 Jul 2003
Posts: 160
Location: UNH

PostPosted: Wed Nov 12, 2003 5:37 am    Post subject: !!! ERROR: sys-libs/db-4.1.25_p1-r3 failed Reply with quote

Code:
checking for jar... no
configure: error: no acceptable jar program found in $PATH

!!! ERROR: sys-libs/db-4.1.25_p1-r3 failed.
!!! Function src_compile, Line 78, Exitcode 1
!!! (no error message)


so one assumes to try:

Code:
shrub js # whereis jar
jar: /opt/blackdown-jdk-1.4.1/bin/jar


and

Code:
export PATH="$PATH:/opt/blackdown-jdk-1.4.1/bin/jar"


and

Code:
shrub js # echo $PATH
/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/usr/X11R6/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/opt/blackdown-jdk-1.4.1/bin


any suggestions?
Back to top
View user's profile Send private message
li1_getoo
l33t
l33t


Joined: 20 Oct 2002
Posts: 661
Location: Queens , NY

PostPosted: Wed Nov 12, 2003 7:03 am    Post subject: Reply with quote

db requires jre and ( i dont remember exactly about this one ) mod_php ? requires jdk so all u have to do is "swap them " . everytime one of thes comes up for upgrade i have to switch

Code:
 apprentice $ java-config --list-available-vms
[sun-jdk-1.4.2.02] "Sun JDK 1.4.2.02" (/etc/env.d/java/20sun-jdk-1.4.2.02) *
[blackdown-jre-1.4.1] "Blackdown JRE 1.4.1" (/etc/env.d/java/20blackdown-jre-1.4.1)


so to answer ur q emerge blackdown-jre first and follow the docs on java config :P
Back to top
View user's profile Send private message
numbaonestunna
n00b
n00b


Joined: 05 Mar 2003
Posts: 48

PostPosted: Thu Dec 11, 2003 8:35 pm    Post subject: seems to be... Reply with quote

the opposite for me... swapped from jre to jdk for the db package, and it compiled fine. <shrug> But yeah, otherwise, the switching thing is right.
Back to top
View user's profile Send private message
trossachs
Veteran
Veteran


Joined: 22 Jan 2004
Posts: 1204
Location: London

PostPosted: Thu Feb 12, 2004 11:47 pm    Post subject: Reply with quote

I emerged both jre and jdk. DB compiled fine from then on. Continued to 'emerge system' end.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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