免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6503 | 回复: 4
打印 上一主题 下一主题

[系统管理] 安装autoconf 出现的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-05-24 09:59 |只看该作者 |倒序浏览
系统环境:Linux version 3.10.0-327.el7.x86_64
安装autoconf 时,提示m4,
安装完m4后,
发现还是报错,
                Can’t locate Data/Dumper.pm in @INC
                sr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ../lib/Autom4te/C4che.pm line 35.
                BEGIN failed--compilation aborted at ../lib/Autom4te/C4che.pm line 35.
                Compilation failed in require at ../bin/autom4te line 39.
                BEGIN failed--compilation aborted at ../bin/autom4te line 39.
                make[1]: *** [autoconf.in] Error 2
                make[1]: Leaving directory `/SoftwareUpload/autoconf-2.61/bin'
                make: *** [all-recursive] Error 1
下载data-dumper-2.154
执行
perl Makefile.PL
perl Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.

[root@itop Data-Dumper-2.154]# rpm -q perl
perl-5.16.3-286.el7.x86_64

求指导,谢谢

论坛徽章:
0
2 [报告]
发表于 2016-05-24 10:01 |只看该作者
[root@itop autoconf-2.61]# make
Making all in bin
make[1]: Entering directory `/SoftwareUpload/autoconf-2.61/bin'
make[2]: Entering directory `/SoftwareUpload/autoconf-2.61'
make[2]: Leaving directory `/SoftwareUpload/autoconf-2.61'
rm -f autom4te autom4te.tmp
sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@bindir[@]|/usr/local/bin|g' -e 's|@datadir[@]|/usr/local/share/autoconf|g' -e 's|@prefix[@]|/usr/local|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-name[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/local/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--error-output|g' -e 's|@AWK[@]|gawk|g' -e 's|@VERSION[@]|2.61|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from autom4te.in; do not edit by hand.|g' `test -f ./autom4te.in || echo ./`autom4te.in >autom4te.tmp
chmod +x autom4te.tmp
chmod a-w autom4te.tmp
mv autom4te.tmp autom4te
autom4te_perllibdir='..'/lib AUTOM4TE_CFG='../lib/autom4te.cfg'         ../bin/autom4te -B '..'/lib -B '..'/lib         --language M4sh --cache '' --melt ./autoconf.as -o autoconf.in
Can't locate Data/Dumper.pm in @INC (@INC contains: ../lib /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at ../lib/Autom4te/C4che.pm line 35.
BEGIN failed--compilation aborted at ../lib/Autom4te/C4che.pm line 35.
Compilation failed in require at ../bin/autom4te line 39.
BEGIN failed--compilation aborted at ../bin/autom4te line 39.
make[1]: *** [autoconf.in] Error 2
make[1]: Leaving directory `/SoftwareUpload/autoconf-2.61/bin'
make: *** [all-recursive] Error 1

论坛徽章:
41
操作系统版块每日发帖之星
日期:2016-08-21 06:20:00每日论坛发贴之星
日期:2016-05-05 06:20:00操作系统版块每日发帖之星
日期:2016-05-05 06:20:00IT运维版块每日发帖之星
日期:2016-05-05 06:20:0015-16赛季CBA联赛之山西
日期:2016-04-27 08:49:00操作系统版块每日发帖之星
日期:2016-04-25 06:20:00操作系统版块每日发帖之星
日期:2016-04-17 06:23:2815-16赛季CBA联赛之吉林
日期:2016-03-25 15:46:3415-16赛季CBA联赛之四川
日期:2016-03-25 14:26:19操作系统版块每日发帖之星
日期:2016-05-27 06:20:00操作系统版块每日发帖之星
日期:2016-05-28 06:20:00IT运维版块每日发帖之星
日期:2016-08-18 06:20:00
3 [报告]
发表于 2016-05-24 10:15 |只看该作者
我记得可以直接yum install autoconf的

论坛徽章:
0
4 [报告]
发表于 2016-05-24 10:17 |只看该作者
yum groupinstall perl*
搞定了。

谢楼上的,改天我试一下。

论坛徽章:
72
20周年集字徽章-20	
日期:2020-10-28 14:04:30操作系统版块每日发帖之星
日期:2016-07-13 06:20:0015-16赛季CBA联赛之广夏
日期:2016-07-10 09:04:02数据库技术版块每日发帖之星
日期:2016-07-09 06:20:00操作系统版块每日发帖之星
日期:2016-07-09 06:20:00数据库技术版块每日发帖之星
日期:2016-07-07 06:20:00操作系统版块每日发帖之星
日期:2016-07-07 06:20:00操作系统版块每日发帖之星
日期:2016-07-04 06:20:00数据库技术版块每日发帖之星
日期:2016-07-03 06:20:00操作系统版块每日发帖之星
日期:2016-07-03 06:20:00数据库技术版块每日发帖之星
日期:2016-07-02 06:20:00操作系统版块每日发帖之星
日期:2016-07-02 06:20:00
5 [报告]
发表于 2016-05-27 15:37 |只看该作者
赞一个
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP