红联Linux门户
Linux帮助

CentOS 6.2安装git报错Perl5

发布时间:2014-06-04 09:42:08来源:红联作者:velcbo
CentOS 6.2 安装git报错Perl5

出现错误一:

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

可解决!

来源:Linux社区
文章评论

共有 0 条评论