View previous topic :: View next topic |
Author |
Message |
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Sat Apr 19, 2003 9:13 pm Post subject: emerge mod_php-4.3.1 can't find blackdown-jre |
|
|
Hi,
I'm having trouble emerging squirrel mail. During
Code: | emerge squirrelmail |
the configure script for mod_php-4.3.1 craps out with the following error:
Quote: |
checking Java Jar location... configure: error: Unable to locate /opt/blackdown-jre-1.3.1/bin
!!! ERROR: dev-php/mod_php-4.3.1 failed.
!!! Function src_compile, Line 216, Exitcode 1
!!! bad ./configure
|
The directory Code: | /opt/blackdown-jre-1.3.1/bin | exists so I can't figure out what the problem is. Any ideas?
Thanks, |
|
Back to top |
|
|
sessionID Apprentice
Joined: 11 Nov 2002 Posts: 266 Location: hungary
|
Posted: Sun Apr 20, 2003 12:50 am Post subject: |
|
|
Do You have java emerged?
Do You need java with php?
Try "emerge squirrelmail -pv", or
"USE="-java" emerge squirrelmail" |
|
Back to top |
|
|
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Sun Apr 20, 2003 1:22 am Post subject: |
|
|
Java is emerged and functional. And it's located where the config file is looking - it just doesn't seem to see it. |
|
Back to top |
|
|
Vitali n00b
Joined: 16 Apr 2003 Posts: 5
|
Posted: Sun Apr 20, 2003 5:35 pm Post subject: |
|
|
I had the same problem some time ago, forgot the solution already , but it was a wrong path in some config file.
Check this thread, i believe it was a wrong setting in /etc/profile.env or /etc/env.d where JAVA_HOME didnt point to the right directory. |
|
Back to top |
|
|
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
Posted: Mon Apr 21, 2003 1:44 am Post subject: |
|
|
Thanks for the help.
The solutions by sessionID works, of course. But the better solution, as hinted at by Vitali is to note that:
Code: | #java-config --jar
!!! jar not found
|
Using the following sets the config files correctly:
Code: |
java-config --set-system-vm=blackdown-jdk-1.3.1
env-update |
Log out, then in, and PRESTO.
I guess java just didn't get installed correctly. Check out the Java docs for more info
http://www.gentoo.org/doc/en/java.xml
Then I was able to stumble across some blackdown problems that cause the config script to crap out. See
https://forums.gentoo.org/viewtopic.php?t=32900
for the resolution
Cheers |
|
Back to top |
|
|
WaMan Tux's lil' helper
Joined: 28 Jun 2002 Posts: 96
|
|
Back to top |
|
|
|