当前位置: > CentOS > CentOS故障 >

centos6.2 安装git报错perl5

时间:2016-09-20 01:08来源:linux.it.net.cn 作者:IT

出现错误一:

usr/bin/perl Makefile.PL PREFIX='/usr/local/git' INSTALL_BASE='' --localedir='/usr/local/git/share/locale'

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 3.

BEGIN failed--compilation aborted at Makefile.PL line 3.

make[1]: *** [perl.mak] Error 2

make: *** [perl/perl.mak] Error 2

执行:

yum install perl-ExtUtils-MakeMaker package.

行进安装

出现错误二:

 /bin/sh: msgfmt: command not found

yum install gettext-devel

可解决!

(责任编辑:IT)
------分隔线----------------------------
栏目列表
推荐内容