Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2607 - broken php ebuild
Summary: broken php ebuild
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-09 04:36 UTC by jason
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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