Summary: | php fails to compile due to java problems | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chris Arndt <arndtc> |
Component: | [OLD] Development | Assignee: | Karl Trygve Kalleberg (RETIRED) <karltk> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | EBUILD |
Priority: | High | ||
Version: | 1.0 RC6 r14 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 154 | ||
Bug Blocks: | |||
Attachments: | php ebuild |
Description
Chris Arndt
2002-01-13 23:45:46 UTC
Created attachment 54 [details]
php ebuild
The bug here is that the PHP ebuild relies on the now deprecated use of /opt/java. It should use the environment variable JAVA_HOME instead. I will do a cleanup of the java dependencies as soon as I've finished the java-config script and mechanism (waiting for feedback from Martin Schlemmer). just thought i'd mention that i tried changing the php ebuild to use ${JAVA_HOME} and that didn't help. i also try using sun java instead of blackdown, but i got the same error during compliation. any word back from martin? I have fixed this bug, but it only resulted in more nastyness later on in the build process. Has anybody successfully built PHP against the Blackdown JDK ever ? The bug happens when blackdown-jre is installed after blackdown-jdk. The blackdown-jre clobbers the vars in /etc/env.d/20java. After that, $JAVA_HOME and $PATH points to a directory without javac. Suggested solution: Make blackdown-jre to dump its vars in /etc/env.d/20java and blackdown-jdk in /etc/env.d/21java, and you could have both ebuilds installed. reassigning to karltk since he's been busy with all java related stuff Now uses JDK_HOME |