[РЕШЕНО] rhino говорит error при компиляции
rhino говорит error при компиляции
>>> Emerging (1 of 19) dev-java/rhino-1.5.5-r4
* rhino1_5R5.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* rhino-swing-ex-1.0.zip RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking rhino1_5R5.zip to /var/tmp/portage/dev-java/rhino-1.5.5-r4/work
* Applying 1.5.5_jdk15.patch ... [ ok ]
* Applying 00_dont-fetch-swing-ex.patch ... [ ok ]
* Applying public-NativeScript.patch ... [ ok ]
>>> Source unpacked in /var/tmp/portage/dev-java/rhino-1.5.5-r4/work
>>> Compiling source in /var/tmp/portage/dev-java/rhino-1.5.5-r4/work/rhino1_5R5 ...
Rewriting attributes
Traceback (most recent call last):
File "/usr/lib64/javatoolkit/bin/xml-rewrite-3.py", line 30, in
from javatoolkit.xml.DomRewriter import DomRewriter
ImportError: No module named javatoolkit.xml.DomRewriter
* If the output above contains:
* ImportError:
* /usr/lib/python2.4/site-packages/_xmlplus/parsers/pyexpat.so:
* undefined symbol: PyUnicodeUCS2_DecodeUTF8
* Try re-emerging dev-python/pyxml
*
* ERROR: dev-java/rhino-1.5.5-r4 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4297: Called eant 'jar'
* environment, line 831: Called java-ant-2_src_configure
* environment, line 2163: Called java-ant_bsfix
* environment, line 2185: Called java-ant_bsfix_files './build.xml' './toolsrc/build.xml' './src/build.xml'
* environment, line 2280: Called _bsfix_die 'xml-rewrite2 failed: ./src/build.xml'
* environment, line 291: Called die
* The specific snippet of code:
* die ${1} " Look at the eerror message above";
* The die message:
* xml-rewrite2 failed: ./src/build.xml Look at the eerror message above
*
* 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/rhino-1.5.5-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/rhino-1.5.5-r4/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.15"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info
Мой info:
emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname:
Timestamp of tree: Tue, 29 Sep 2009 01:45:02 +0000
app-shells/bash: 4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python: 2.6.2-r1
dev-util/cmake: 2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.6-r2
sys-devel/autoconf: 2.13, 2.63-r1
sys-devel/automake: 1.7.9-r1, 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.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="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"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
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="X a52 acl acpi alsa amd64 amd64codecs berkdb bzip2 cairo cdr chardet cli cracklib crypt cups dell djvu dri dvd dvdnav ffmpeg fortran gdbm gnome gpm gtk hash iconv ipv6 isdnlog java jpeg kde ldap mmx modules mp3 mppe-mppc mudflap multilib multislot ncurses nls nptl nptlonly nvidia opengl openmp oss pam pcre perl png pppd python qt qt-static qt3 qt4 readline reflection rhino samba session slang spl sse sse2 ssl sysfs tcpd threads tiff unicode use wma wxwidgets x264 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Куда нужно копать?
- Для комментирования войдите или зарегистрируйтесь
/usr/lib/python2.4/site-packa
Plz, read you emerge output and errors :(
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 ;)
Try re-emerging dev-python/pyxml я сделал
Try re-emerging dev-python/pyxml я сделал еще до написания в форум. Все равно - error
emerge pyxml
Или как-то по другому?
revdep-rebuild попробуйте. Ну
revdep-rebuild
попробуйте. Ну иpython-updater
, на всякий случайЭто я тоже делал...
Это я тоже делал...
Попробуй пересобири
Выполни сначала python-update, а потом пересобери javatoolkit!
Все, собралось.
Все, собралось. Нужно было javatoolkit пересобрать... Спасибо