LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 692|回复: 5

perl 无法编译过去 [已解决]

[复制链接]
发表于 2009-11-18 14:34:25 | 显示全部楼层 |阅读模式
emerge =dev-lang/perl-5.8.8-r5

make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8/utils'

        Making x2p stuff
make[1]: Entering directory `/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8/x2p'
You haven't done a "make depend" yet!
make[1]: *** [hash.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8/x2p'
make: *** [translators] Error 2
* ERROR: dev-lang/perl-5.8.8-r5 failed:
*   Unable to make
*
* Call stack:
*     ebuild.sh, line  55:  Called src_compile
*   environment, line 2680:  Called die
* The specific snippet of code:
*       emake -j1 || die "Unable to make"
*
* If you need support, post the output of 'emerge --info =dev-lang/perl-5.8.8-r5',
* the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.8.8-r5'.
* The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/environment'.
* S: '/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8'

>>> Failed to emerge dev-lang/perl-5.8.8-r5, Log file:

>>>  '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/build.log'

* Messages for package dev-lang/perl-5.8.8-r5:

* ERROR: dev-lang/perl-5.8.8-r5 failed:
*   Unable to make
*
* Call stack:
*     ebuild.sh, line  55:  Called src_compile
*   environment, line 2680:  Called die
* The specific snippet of code:
*       emake -j1 || die "Unable to make"
*
* If you need support, post the output of 'emerge --info =dev-lang/perl-5.8.8-r5',
* the complete build log and the output of 'emerge -pqv =dev-lang/perl-5.8.8-r5'.
* The complete build log is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-lang/perl-5.8.8-r5/temp/environment'.
* S: '/var/tmp/portage/dev-lang/perl-5.8.8-r5/work/perl-5.8.8'

用的是~86的 出现一样的问题 所以我才指定x86的版本试试
但是结果出现一样的错误~
当初emerge -DNu world的时候perl需要升级 但是编译新版本的时候就出现这个问题了
所以就狠狠的来了个-C 然后emerge -e perl 57个包需要重新编译  直到这里


>>> Emerging (32 of 57) sys-devel/libtool-2.2.6b
* libtool-2.2.6b.tar.lzma RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking libtool-2.2.6b.tar.lzma to /var/tmp/portage/sys-devel/libtool-2.2.6b/work
* Applying libtool-2.2.6a-tests-locale.patch ...                         [ ok ]
* Removing useless C++ checks ...                                        [ ok ]
* Applying libtool-1.5.20-use-linux-version-in-fbsd.patch ...            [ ok ]
* Running eautoreconf in '/var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b/libltdl' ...
* Running aclocal -I m4 ...                                              [ !! ]

* Failed Running aclocal !
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/sys-devel/libtool-2.2.6b/temp/aclocal.out

* ERROR: sys-devel/libtool-2.2.6b failed:
*   Failed Running aclocal !
*
* Call stack:
*     ebuild.sh, line   55:  Called src_unpack
*   environment, line 3092:  Called eautoreconf
*   environment, line  989:  Called eaclocal
*   environment, line  928:  Called autotools_run_tool 'aclocal' '-I' 'm4'
*   environment, line  472:  Called die
* The specific snippet of code:
*           die "Failed Running $1 !";
*
* If you need support, post the output of 'emerge --info =sys-devel/libtool-2.2.6b',
* the complete build log and the output of 'emerge -pqv =sys-devel/libtool-2.2.6b'.
* The complete build log is located at '/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/environment'.
* S: '/var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b'

>>> Failed to emerge sys-devel/libtool-2.2.6b, Log file:

>>>  '/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/build.log'

* Messages for package sys-devel/libtool-2.2.6b:

* Failed Running aclocal !
*
* Include in your bugreport the contents of:
*
*   /var/tmp/portage/sys-devel/libtool-2.2.6b/temp/aclocal.out
* ERROR: sys-devel/libtool-2.2.6b failed:
*   Failed Running aclocal !
*
* Call stack:
*     ebuild.sh, line   55:  Called src_unpack
*   environment, line 3092:  Called eautoreconf
*   environment, line  989:  Called eaclocal
*   environment, line  928:  Called autotools_run_tool 'aclocal' '-I' 'm4'
*   environment, line  472:  Called die
* The specific snippet of code:
*           die "Failed Running $1 !";
*
* If you need support, post the output of 'emerge --info =sys-devel/libtool-2.2.6b',
* the complete build log and the output of 'emerge -pqv =sys-devel/libtool-2.2.6b'.
* The complete build log is located at '/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/environment'.
* S: '/var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b'

* Regenerating GNU info directory index...
* Processed 150 info files.

出现问题了

现在系统里面已经没有perl 了
也知道自己站在悬崖的边缘~
revdep-rebuild也没有显示任何问题
请教下一步该如何走好?
发表于 2009-11-18 16:26:41 | 显示全部楼层
* Include in your bugreport the contents of:
*
* /var/tmp/portage/sys-devel/libtool-2.2.6b/temp/aclocal.out
* ERROR: sys-devel/libtool-2.2.6b failed:
* Failed Running aclocal !

另外常規的東西也沒有給。emerge --info
回复 支持 反对

使用道具 举报

发表于 2009-11-18 16:29:08 | 显示全部楼层
可以参考的Bug: http://bugs.gentoo.org/141475

解决方法,將hostname中的"_"去掉。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-18 16:42:13 | 显示全部楼层
Post by 亞利艾爾;2047184
/var/tmp/portage/sys-devel/libtool-2.2.6b/temp/aclocal.out


***** aclocal *****
***** PWD: /var/tmp/portage/sys-devel/libtool-2.2.6b/work/libtool-2.2.6b/libltdl
***** aclocal -I m4

/usr/bin/aclocal: /usr/bin/aclocal-1.10: /usr/bin/perl: bad interpreter: No such file or directory
/usr/bin/aclocal: line 156: /usr/bin/aclocal-1.10: Success

我把perl  -C掉了 所以这个脚本就没法继续了。。。
Post by 亞利艾爾;2047184
另外常規的東西也沒有給。emerge --info


feifei@feifei's toy ~ $ emerge --info
Portage 2.1.7.5 (default/linux/x86/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-zen8 i686)
=================================================================
System uname: Linux-2.6.31-zen8-i686-Intel-R-_Core-TM-2_Duo_CPU_T5870_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 18 Nov 2009 05:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/ccache:     2.4-r8
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORTERM="gnome-terminal"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=native -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-6EMHf7RDxR,guid=58df64d60bbe533d5dccec444b038137"
DESKTOP_SESSION="gnome"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-av"
EMERGE_WARNING_DELAY="10"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GDK_USE_XFT="1"
GDMSESSION="gnome"
GDM_LANG="en_US.UTF-8"
GDM_XSERVER_LOCATION="local"
GENTOO_MIRRORS="http://gentoo.aditsu.net/ ftp://gentoo.anheng.com.cn/gentoo http://mirror.averse.net/pub/gentoo/"
GNOME_DESKTOP_SESSION_ID="this-is-deprecated"
GNOME_KEYRING_SOCKET="/tmp/keyring-uESqjH/socket"
GTK_IM_MODULE="ibus"
GTK_MODULES="gail:atk-bridge"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/feifei/.gtkrc-1.2-gnome2"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/home/feifei"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.20/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2/info"
INPUT_DEVICES="keyboard mouse synaptics evdev"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_CTYPE="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="feifei"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01r=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42w=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAKEOPTS="-j4"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.20/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.2/man:/usr/qt/3/doc/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="xorg-x11"
ORBIT_SOCKETDIR="/tmp/orbit-feifei"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.2:/usr/qt/3/bin:/usr/games/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PRELINK_PATH_MASK="/usr/lib/klibc"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/feifei"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
QT_IM_MODULE="ibus"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.2:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SESSION_MANAGER="local/feifei's toy/tmp/.ICE-unix/4679,unix/feifei's toy:/tmp/.ICE-unix/4679"
SHELL="/bin/bash"
SHLVL="1"
SSH_AGENT_PID="4681"
SSH_AUTH_SOCK="/tmp/keyring-uESqjH/socket.ssh"
SYNC="rsync://rsync.gentoo.org/gentoo-portage/"
TERM="xterm"
USE="X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt dbus dri dts dvd dvdr emboss encode esd extras fam ffmpeg firefox flac gdbm gif gnome gpm gstreamer gtk hal iconv jpeg laptop ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png policykit ppds pppd python quicktime readline reflection sdl session spell spl sqlite sse sse2 ssl ssse3 startup-notification svg sysfs tcpd thunar tiff truetype unicode usb v4l v4l2 vorbis wifi win32codecs wma x264 x86 xft xml xorg xulrunner xv xvid 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon"
USER="feifei"
USERLAND="GNU"
USERNAME="feifei"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev vesa radeon"
WINDOWID="60825213"
WINDOWPATH="7"
XAUTHORITY="/home/feifei/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm"
XDG_MENU_PREFIX="gnome-"
XDG_SESSION_COOKIE="c82bff24c225429f13ce34e44acd3c23-1258520887.835128-1518978740"
XMODIFIERS="@im=ibus"
_="/usr/bin/emerge"

Post by 亞利艾爾;2047184

可以参考的Bug: http://bugs.gentoo.org/141475

解决方法,將hostname中的"_"去掉。


这个是很久之前的了 我看过了 我hostname里面没有这东西~

…………^^
回复 支持 反对

使用道具 举报

发表于 2009-11-18 17:57:59 | 显示全部楼层
从stage3里拷贝个perl出来就行了。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-11-18 18:25:21 | 显示全部楼层
没事了 原来是我自己多手把hostname改了
“‘” 这个小点 在perl里面可是有意思的
谢谢亞利艾爾的提醒~

to 楼上的
我已经做最坏打算了 上网下载了stage3 然后在里面打好包了
后来再看看hostname 一改 成功了  ~^^
不过还是谢谢两位
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表