centos6.2 安裝git報錯perl5

出現錯誤一: git

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

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

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

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

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

執行: command

yum install perl-ExtUtils-MakeMaker package. yum

行進安裝 di

出現錯誤二: make

 /bin/sh: msgfmt: command not found

yum install gettext-devel

可解決!

相關文章
相關標籤/搜索