kavin

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

kavin linux 2018-05-09 3332浏览 0

 

linuxcentos 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

安装完以后重新编译解决问题


继续浏览有关 安装git编译linux 的文章
发表评论