linux编译安装软件git报错Can’t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: 解决办法

21运维整理,转载请注明出处。
今天在linux的centos 6下安装git编译的时候发生报错:

[root@localhost git-2.4.5]# make
    SUBDIR perl
/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-Embed -y
安装完以后重新编译解决问题。特此记录。

转载请注明:西数超哥博客www.ysidc.top» linux编译安装软件git报错Can’t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: 解决办法

https://www.ysidc.top 西数超哥博客,数据库,西数超哥,虚拟主机,域名注册,域名,云服务器,云主机,云建站,ysidc.top

西数超哥学习乐园,西数超哥基础运维经验教程分享的学习乐园,西数超哥博客,运维经验教程交流学习分享的博客

原创文章,作者:zhang sir,如若转载,请注明出处:https://www.ysidc.top/5752.html