checking if javac works... configure: error: The Java compiler javac failed (see config.log, check the CLASSPATH?) !!! ERROR: sys-libs/db-4.2.52_p4 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile java-config -L [sun-jdk-1.4.2.10] "Sun JDK 1.4.2.10" (/etc/env.d/java/20sun-jdk-1.4.2.10) [sun-jdk-1.5.0.06] "Sun JDK 1.5.0.06" (/etc/env.d/java/20sun-jdk-1.5.0.06) * I know this has been discussed here before with other configurations. The problem is I can emerge the db package without a problem when I set the java environment to sun-jdk-1.4.2.10 but not with sun-jdk-1.5.0.06. We are working with java both at school and at work and I need to use the 1.5 version. Of course I could make the system wide setting sun-jdk-1.4.2.10 and for my user set the sun-jdk-1.5.0.06 environment but that's not the point - it would be only a workaround. Btw - there is no config log in /var/tmp/portage/db-4.2.52_p4/work/db-4.2.52/. :(
(In reply to comment #0) > I know this has been discussed here before with other configurations. The > problem is I can emerge the db package without a problem when I set the java > environment to sun-jdk-1.4.2.10 but not with sun-jdk-1.5.0.06. Don't use Java 1.5 as your system VM, it's package.masked for a reason...