View previous topic :: View next topic |
Author |
Message |
dleifelohcs Apprentice
Joined: 10 Jul 2003 Posts: 160 Location: UNH
|
Posted: Wed Nov 12, 2003 5:37 am Post subject: !!! ERROR: sys-libs/db-4.1.25_p1-r3 failed |
|
|
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 |
|
|
li1_getoo l33t
Joined: 20 Oct 2002 Posts: 661 Location: Queens , NY
|
Posted: Wed Nov 12, 2003 7:03 am Post subject: |
|
|
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 |
|
Back to top |
|
|
numbaonestunna n00b
Joined: 05 Mar 2003 Posts: 48
|
Posted: Thu Dec 11, 2003 8:35 pm Post subject: seems to be... |
|
|
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 |
|
|
trossachs Veteran
Joined: 22 Jan 2004 Posts: 1204 Location: London
|
Posted: Thu Feb 12, 2004 11:47 pm Post subject: |
|
|
I emerged both jre and jdk. DB compiled fine from then on. Continued to 'emerge system' end. |
|
Back to top |
|
|
|