Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121215 - sys-libs/db-4.2.52_p4 fails to configure: "The Java compiler javac failed" with SUN JDK 1.5.0.06
Summary: sys-libs/db-4.2.52_p4 fails to configure: "The Java compiler javac failed" wi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-01 12:26 UTC by David Bruha
Modified: 2006-02-01 12:30 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 David Bruha 2006-02-01 12:26:11 UTC
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/. :(
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-01 12:30:50 UTC
(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...