Не собирается dev-java/gnu-classpath-0.98-r1

Здравствуйте!

Возникла проблемка при попытке установить tomcat. Точнее при установке вышеобозначенного пакета dev-java/gnu-classpath-0.98-r1.

emerge dev-java/gnu-classpath-0.98-r1... "Спотыкается" на следующем

checking if /usr/bin/ecj-3.3 is a version of gcj... Could not create the Java virtual machine.

checking if /usr/bin/ecj-3.3 works... configure: error: The Java compiler /usr/bin/ecj-3.3 failed (see config.log, check the CLASSPATH?)
 * 
 * ERROR: dev-java/gnu-classpath-0.98-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 4513:  Called die
 * The specific snippet of code:
 *       ANTLR= ./configure $(use_enable alsa) $(use_enable debug ) $(use_enable examples) $(use_enable gconf gconf-peer) $(use_enable gjdoc) $(use_enable gmp) $(use_enable gtk gtk-peer) $(use_enable gstreamer gstreamer-peer) $(use_enable nsplugin plugin) $(use_enable qt4 qt-peer) $(use_enable xml xmlj) $(use_enable dssi ) $(use_with doc gjdoc) --enable-jni --disable-dependency-tracking --host=${CHOST} --prefix=/usr/${PN}-${SLOT} --with-ecj-jar=$(java-pkg_getjar eclipse-ecj:3.3 ecj.jar) --disable-Werror ${myconf} || die "configure failed"
 *  The die message:
 *   configure failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-java/gnu-classpath-0.98-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/gnu-classpath-0.98-r1/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.17"
JAVACFLAGS="-nowarn" COMPILER=""
and of course, the output of emerge --info

emerge --info

Portage 2.1.6.13 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Duron-tm-_Processor-with-gentoo-1.12.13
Timestamp of tree: Mon, 04 Jan 2010 20:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r2
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=i486 -pipe -fomit-frame-pointer"
CHOST="i486-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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i486 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb bzip2 cli cracklib crypt cxx dri fortran gd gdbm gpm iconv ipv6 java java5 java6 jce jpeg modules mudflap mysql mysqli ncurses nls nptl nptlonly odbc openmp pam pcre pdf perl php pic png pppd python rar readline reflection session spl ssl suhosin symlink sysfs tar tcpd threads truetype unicode vhosts x86 xml xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

томкат великолепно собирается

томкат великолепно собирается без всех этих прибамбасов для недоделанных джав.
Просто virtual/jdk по дефолту ставит отнюдь не сановскую яву.
Вывод
#java-config-2 -L
в студию. плз

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

java-config-2 -L The

java-config-2 -L

The following VMs are available for generation-2:
1)      IcedTea6-bin 1.6.2 [icedtea6-bin]
2)      Sun JDK 1.5.0.22 [sun-jdk-1.5]
*)      Sun JDK 1.6.0.17 [sun-jdk-1.6]

Если цель собрать томкат :)

Если цель собрать томкат :) (не для разработки)
то сносите 1) IcedTea6-bin 1.6.2 [icedtea6-bin] и смотрите что ее тянет, подбирайте юзы осторожнее

Compute:
Bosch M2.8.1 -> custom Bosch M2.8.3 clone from Russia.
Speed about 260 km,Ram 2 pers.,HDD - 70 kg,210 FLOPS ;)

Цель собрать tomcat :)

IcedTea6 снес, но это особо не помогло. Скачал томкат с http://tomcat.apache.org и "тупо" сделал по http://tomcat.apache.org/tomcat-6.0-doc/setup.html. Но emerge tomcat не хочет работать.

А у вас?

$ java-check-environment 2>/dev/null | tail -n 1
 * Java environment is sane. Congratulations!

Это подпись, которую невозможно истолковать неправильно

Тоже самое ...

# java-check-environment 2>/dev/null | tail -n 1
 * Java environment is sane. Congratulations!

.

покажите небольшой осмысленный кусочек config.log относящийся к

checking if /usr/bin/ecj-3.3 works... configure: error: The Java compiler /usr/bin/ecj-3.3 failed
see config.log

Это подпись, которую невозможно истолковать неправильно

..

configure:34829: WARNING: I have to compile Test.class from scratch
configure:34932: checking if /usr/bin/ecj-3.3 is a version of gcj
configure:34943: result: 
configure:34956: checking if /usr/bin/ecj-3.3 works
configure:34981: /usr/bin/ecj-3.3 -nowarn -source 1.5 -target 1.5 Object.java
Could not create the Java virtual machine.
configure:34984: $? = 1
configure:34988: error: The Java compiler /usr/bin/ecj-3.3 failed (see config.log, check the CLASSPATH?)

.

Мне помогло остановить ява-сервер.

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".