Could you help me decipher what I need to do in order to get this to compile?
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: 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
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r7 i686) ================================================================= System uname: 2.6.24-gentoo-r7 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz Timestamp of tree: Sun, 21 Sep 2008 22:15:01 +0000 app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r2 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=prescott -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=prescott -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo " LANG="C" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aac acl aim alsa ao bash-completion bdf berkdb branding bzip2 cdparanoia cdr cli cpudetection cracklib crypt cups djvu emacs encode exif firefox foomaticdb fortran gcj gdbm gif glut gpm gs gtk iconv ieee1394 imagemagick imlib ipv6 java javascript jbig jpeg jpeg2k lame latex ldap libnotify libwww lm_sensors mad midi mmx mmxext mng motif mp3 mpeg mplayer msn mudflap ncurses nls nptl nptlonly openal opengl openmp oss pam pcre pdf perl plotutils png ppds preview-latex python qt3support qt4 quicktime readline reflection rtc samba sdl sensord session smp sndfile spl sse sse2 ssl svga swat tcl tcpd tetex tiff tk truetype tta unicode usb wavpack winbind wmp x86 xcb xine xml xorg yahoo zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY