# emerge -v javacc Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/javacc-3.2-r3 to / >>> md5 files ;-) javacc-3.2-r3.ebuild >>> md5 files ;-) files/javacc-3.2-javadoc.patch >>> md5 files ;-) files/javacc-3.2 >>> md5 files ;-) files/jjtree-3.2 >>> md5 files ;-) files/digest-javacc-3.2-r3 >>> md5 files ;-) files/jjdoc-3.2 >>> md5 files ;-) files/javacc.sh-3.2 >>> md5 src_uri ;-) javacc-3.2.tar.gz >>> Unpacking source... >>> Unpacking javacc-3.2.tar.gz to /var/tmp/portage/javacc-3.2-r3/work * Applying javacc-3.2-javadoc.patch ... [ ok ] >>> Source unpacked. Traceback (most recent call last): File "/usr/bin/java-config", line 14, in ? from java_config import jc_options ImportError: No module named java_config Error: JAVA_HOME is not defined correctly. We cannot execute !!! ERROR: dev-java/javacc-3.2-r3 failed. !!! Function src_compile, Line 32, Exitcode 1 !!! compilation failed !!! If you need support, post the topmost build error, NOT this status message. This is an x86 machine using the latest stable release (emerge sync and world done yesterday, all configs merged): # cat /etc/gentoo-release Gentoo Base System version 1.6.13 # uname -a Linux asus3 2.6.11-gentoo-r11 #1 Tue Jul 5 03:40:24 IDT 2005 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux
Most likely, you have recently updated from python-2.3 to python-2.4, but did not run 'python-updater'. You must run this to make sure all python packages put their modules into the proper location to run with python-2.4. If you had posted 'emerge info', as you are prompted to when filing out a bug, I would be able to know if this is the case for sure.