linux编译安装软件git报错Can’t locate ExtUtils/MakeMaker.pm in @INC (@INC contains: 解决办法
内容摘要
[[email protected] git-2.4.5]# make
SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/usr/local/git' INSTALL_BASE='' --localedir='/usr/local/git/share/loc
SUBDIR perl
/usr/bin/perl Makefile.PL PREFIX='/usr/local/git' INSTALL_BASE='' --localedir='/usr/local/git/share/loc
文章正文
[[email protected] 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
安装完以后重新编译解决问题。特此记录。
代码注释
[!--zhushi--]