Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 2607

Summary: broken php ebuild
Product: Gentoo Linux Reporter: jason <bueler_1>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description jason 2002-05-09 04:36:04 UTC
the ebuild for php-4.1.2-r9 has java as a dependant, so portage automatically 
downloads and installs java (among many other things). hoever, during the 
configuration of php itself, it errors out when it looks for Java VM (forgive 
me, i dont know what this is). the solution for this is to hack the ebuild. i 
used nano and search for entries of "java". the first entry is a dependancy 
value, and cannot be commented out as portage thinks the # is a dependancy, and 
doesnt know what to do about it. so i removed that line entirely. all other 
entries of java can be commented out. they are in if/then/else statements, so 
the whole nest should be commented out. there are two nests containing the 
phrase "java". after i did this. it worked fine. good luck!
Comment 1 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2002-05-09 04:45:41 UTC
after a java vm is installed you need to configure it using 
java-config! 
 
after that run env-update and this should be fine 
 
if you want to compile php without java support  
# export USE="-java" 
# emerge php