centos安装git1.8.3时 报错make[1]: *** [perl.mak] Error 2

来源:互联网 发布:软件测试编写目的 编辑:程序博客网 时间:2024/06/13 23:37

centos安装git时 报错make[1]: *** [perl.mak] Error 2 


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
阅读全文
0 0
原创粉丝点击