LinuxSir.cn,穿越时空的Linuxsir!

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

emerge glib-perl出错,高人指点~

[复制链接]
发表于 2010-11-11 22:44:56 | 显示全部楼层 |阅读模式
>>> Emerging (1 of 1) dev-perl/glib-perl-1.223
* Glib-1.223.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                                  [ ok ]
* checking ebuild checksums ;-) ...                                                                                                                  [ ok ]
* checking auxfile checksums ;-) ...                                                                                                                 [ ok ]
* checking miscfile checksums ;-) ...                                                                                                                [ ok ]
* CPV:  dev-perl/glib-perl-1.223
* REPO: gentoo
* USE:  elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking Glib-1.223.tar.gz to /var/tmp/portage/dev-perl/glib-perl-1.223/work
>>> Source unpacked in /var/tmp/portage/dev-perl/glib-perl-1.223/work
>>> Preparing source in /var/tmp/portage/dev-perl/glib-perl-1.223/work/Glib-1.223 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/glib-perl-1.223/work/Glib-1.223 ...
* Using ExtUtils::MakeMaker
* perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/glib-perl-1.223/image/
Can't locate ExtUtils/Depends.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.12.2/i686-linux /usr/lib/perl5/site_perl/5.12.2 /usr/lib/perl5/vendor_perl/5.12.2/i686-linux /usr/lib/perl5/vendor_perl/5.12.2 /usr/lib/perl5/5.12.2/i686-linux /usr/lib/perl5/5.12.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/local/lib/site_perl .) at (eval 6) line 1.
BEGIN failed--compilation aborted at (eval 6) line 1.

Checking if your kit is complete...
Looks good
MakeMaker FATAL: prerequisites not found.
    ExtUtils:epends not installed
    ExtUtils:kgConfig not installed

Please install these modules first and rerun 'perl Makefile.PL'.
* ERROR: dev-perl/glib-perl-1.223 failed:
*   Unable to build! (are you using USE="build"?)
*
* Call stack:
*     ebuild.sh, line   54:  Called src_configure
*   environment, line 2655:  Called perl-module_src_configure
*   environment, line 2306:  Called perl-module_src_prep
*   environment, line 2364:  Called die
* The specific snippet of code:
*               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build! (are you using USE=\"build\"?)";
*
* If you need support, post the output of 'emerge --info =dev-perl/glib-perl-1.223',
* the complete build log and the output of 'emerge -pqv =dev-perl/glib-perl-1.223'.
* The complete build log is located at '/var/tmp/portage/dev-perl/glib-perl-1.223/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-perl/glib-perl-1.223/temp/environment'.
* S: '/var/tmp/portage/dev-perl/glib-perl-1.223/work/Glib-1.223'

>>> Failed to emerge dev-perl/glib-perl-1.223, Log file:

>>>  '/var/tmp/portage/dev-perl/glib-perl-1.223/temp/build.log'

* Messages for package dev-perl/glib-perl-1.223:

* ERROR: dev-perl/glib-perl-1.223 failed:
*   Unable to build! (are you using USE="build"?)
*
* Call stack:
*     ebuild.sh, line   54:  Called src_configure
*   environment, line 2655:  Called perl-module_src_configure
*   environment, line 2306:  Called perl-module_src_prep
*   environment, line 2364:  Called die
* The specific snippet of code:
*               perl Makefile.PL "$@" <<< "${pm_echovar}" || die "Unable to build! (are you using USE=\"build\"?)";
*
* If you need support, post the output of 'emerge --info =dev-perl/glib-perl-1.223',
* the complete build log and the output of 'emerge -pqv =dev-perl/glib-perl-1.223'.
* The complete build log is located at '/var/tmp/portage/dev-perl/glib-perl-1.223/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-perl/glib-perl-1.223/temp/environment'.
* S: '/var/tmp/portage/dev-perl/glib-perl-1.223/work/Glib-1.223'
发表于 2010-11-11 22:58:40 | 显示全部楼层
运行perl-cleaner
回复 支持 反对

使用道具 举报

发表于 2010-11-12 13:21:38 | 显示全部楼层
仔细看log:
MakeMaker FATAL: prerequisites not found.
ExtUtils: epends not installed
ExtUtils:: PkgConfig not installed

Please install these modules first and rerun 'perl Makefile.PL'.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-12 23:25:05 | 显示全部楼层
怎么找到有哪些prerequisite没有安装,请赐教
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-11-12 23:26:44 | 显示全部楼层
Post by suddenkiller;2119578
仔细看log:
MakeMaker FATAL: prerequisites not found.
ExtUtils: epends not installed
ExtUtils:: PkgConfig not installed

Please install these modules first and rerun 'perl Makefile.PL'.


怎么找到有哪些prerequisite没有安装,请赐教
回复 支持 反对

使用道具 举报

发表于 2010-11-13 00:52:25 | 显示全部楼层
你还是试着运行perl-cleaner吧,它会清除掉旧的依赖模块并尝试重新安装。这个bug好像是perl版本升级造成的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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