Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mod_php-4.3.1 can't find blackdown-jre
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Sat Apr 19, 2003 9:13 pm    Post subject: emerge mod_php-4.3.1 can't find blackdown-jre Reply with quote

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
View user's profile Send private message
sessionID
Apprentice
Apprentice


Joined: 11 Nov 2002
Posts: 266
Location: hungary

PostPosted: Sun Apr 20, 2003 12:50 am    Post subject: Reply with quote

Do You have java emerged?
Do You need java with php?
Try "emerge squirrelmail -pv", or
"USE="-java" emerge squirrelmail"
Back to top
View user's profile Send private message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Sun Apr 20, 2003 1:22 am    Post subject: Reply with quote

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


Joined: 16 Apr 2003
Posts: 5

PostPosted: Sun Apr 20, 2003 5:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Mon Apr 21, 2003 1:44 am    Post subject: Reply with quote

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
View user's profile Send private message
WaMan
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jun 2002
Posts: 96

PostPosted: Mon Apr 21, 2003 1:57 am    Post subject: Reply with quote

Just thought I'd add a link to the bugzilla report for the config problem I mentioned above in case anyone is curious


https://bugs.gentoo.org/show_bug.cgi?id=15816
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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