On Monday 22 September 2008 22:48:54 Denis wrote:
> Could you help me decipher what I need to do in order to get this to
> compile?


I've never seen such an error, so I have to go with gut feel:


> Here is the message on emerge:
>
> =============================================================
> Traceback (most recent call last):
>   File "/usr/bin/depend-java-query", line 8, in <module>
>     from java_config_2 import __version__
> ImportError: No module named java_config_2
>  * Unable to determine VM for building from dependencies:

This rings bells for me - Big Ben sized bells.

Did you run java-config?



> NV_DEPEND: tcl? ( >=dev-lang/tcl-8.4 )
>         java? ( >=virtual/jdk-1.4 )
>
>         >=sys-devel/binutils-2.16.1  test? ( >=dev-lang/tcl-8.4 )
>
> java? ( >=dev-java/java-config-2.0.33-r1 >=sys-apps/portage-2.1.2.7 )

> =sys-devel/automake-1.10*
>
>         >=sys-devel/autoconf-2.61
>
>         sys-devel/libtool
> VNEED:
>  *
>  * ERROR: sys-libs/db-4.5.20_p2-r1 failed.
>  * Call stack:
>  *               ebuild.sh, line   49:  Called pkg_setup
>  *               ebuild.sh, line 1244:  Called java-pkg-opt-2_pkg_setup
>  *   java-pkg-opt-2.eclass, line   44:  Called java-pkg_init
>  *     java-utils-2.eclass, line 2090:  Called java-pkg_switch-vm
>  *     java-utils-2.eclass, line 2516:  Called die
>  * The specific snippet of code:
>  *                              die "Failed to determine VM for building."
>  *  The die message:
>  *   Failed to determine VM for building.
>  *
> ===============================================================
>
> Here are my environment variables:
> GENTOO_VM=
> CLASSPATH="."
> JAVA_HOME="/etc/java-config-2/current-system-vm"
> JAVACFLAGS=
> COMPILER=
>
> Contents of "emerge --info" are attached as text file.
>
> Thanks,
> Denis



-- 
alan dot mckinnon at gmail dot com

Reply via email to