| Summary: | building dev-util/subversion-1.2.0 with java fails -- make: none: Command not found | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Triffid Hunter <triffid_hunter> |
| Component: | [OLD] Development | Assignee: | Paul de Vrieze (RETIRED) <pauldv> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | CC: | raybooysen |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Triffid Hunter
2005-05-29 23:02:39 UTC
You must have not only a jdk installed to use the java option, you must also have it configured as default by java-config. So use java-config to select the jdk you want to use. I selected the ibm jdk only recently.. blackdown was too slow/resource hungry. all my java programs now not only run fine, but faster and use less ram.. subversion had previously compiled successfully _without_ a jdk being selected with java-config, but failed after i did this "necessary" step? I don't understand... What is the output of "java-config -L" setting the jdk goes with "java-config -S <name of jdk>" # java-config -L [blackdown-jre-1.4.2.01] "Blackdown JRE 1.4.2.01" (/etc/env.d/java/20blackdown- jre-1.4.2.01) [blackdown-jdk-1.4.2.01] "Blackdown JDK 1.4.2.01" (/etc/env.d/java/20blackdown- jdk-1.4.2.01) [ibm-jre-bin-1.4.2] "IBM JRE 1.4.2" (/etc/env.d/java/20ibm-jre-bin-1.4.2) [ibm-jdk-bin-1.4.2] "IBM JDK 1.4.2" (/etc/env.d/java/20ibm-jdk-bin-1.4.2) * last one is also highlighted in green, meaning that when i set it with java- config -S, it worked.. blackdown was originally the only jdk installed As jdk's provide jre's by themselves you might want to unmerge the jre's. That should not be the problem though. Would for some reason the jre be first in the path? Verify that `which javac` and `which java` point to the ibm jdk. ~ # which javac ; which java /opt/ibm-jdk-bin-1.4.2/bin/javac /opt/ibm-jdk-bin-1.4.2/bin/java Ok, could you attach /var/tmp/portage/subversion-1.2.0/work/subversion-1.2.0/config.log ? For some reason your javac is not recognized. (Does "ant -version" work?) You should set your jdk properly in java-config. `which javac` should give proper output to a working javac binary. No response from reporter. |