Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] sys-libs/db-4.5.20_p2-r1 fails before compile starts
Date: Mon, 22 Sep 2008 20:57:16
Message-Id: 200809222257.42672.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] sys-libs/db-4.5.20_p2-r1 fails before compile starts by Denis
1 On Monday 22 September 2008 22:48:54 Denis wrote:
2 > Could you help me decipher what I need to do in order to get this to
3 > compile?
4
5
6 I've never seen such an error, so I have to go with gut feel:
7
8
9 > Here is the message on emerge:
10 >
11 > =============================================================
12 > Traceback (most recent call last):
13 > File "/usr/bin/depend-java-query", line 8, in <module>
14 > from java_config_2 import __version__
15 > ImportError: No module named java_config_2
16 > * Unable to determine VM for building from dependencies:
17
18 This rings bells for me - Big Ben sized bells.
19
20 Did you run java-config?
21
22
23
24 > NV_DEPEND: tcl? ( >=dev-lang/tcl-8.4 )
25 > java? ( >=virtual/jdk-1.4 )
26 >
27 > >=sys-devel/binutils-2.16.1 test? ( >=dev-lang/tcl-8.4 )
28 >
29 > java? ( >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 )
30
31 > =sys-devel/automake-1.10*
32 >
33 > >=sys-devel/autoconf-2.61
34 >
35 > sys-devel/libtool
36 > VNEED:
37 > *
38 > * ERROR: sys-libs/db-4.5.20_p2-r1 failed.
39 > * Call stack:
40 > * ebuild.sh, line 49: Called pkg_setup
41 > * ebuild.sh, line 1244: Called java-pkg-opt-2_pkg_setup
42 > * java-pkg-opt-2.eclass, line 44: Called java-pkg_init
43 > * java-utils-2.eclass, line 2090: Called java-pkg_switch-vm
44 > * java-utils-2.eclass, line 2516: Called die
45 > * The specific snippet of code:
46 > * die "Failed to determine VM for building."
47 > * The die message:
48 > * Failed to determine VM for building.
49 > *
50 > ===============================================================
51 >
52 > Here are my environment variables:
53 > GENTOO_VM=
54 > CLASSPATH="."
55 > JAVA_HOME="/etc/java-config-2/current-system-vm"
56 > JAVACFLAGS=
57 > COMPILER=
58 >
59 > Contents of "emerge --info" are attached as text file.
60 >
61 > Thanks,
62 > Denis
63
64
65
66 --
67 alan dot mckinnon at gmail dot com