perl Makefile.PL;make;make install 安装时报错

前端之家收集整理的这篇文章主要介绍了perl Makefile.PL;make;make install 安装时报错前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
[root@localhost mha4MysqL-node-0.52]#  perl Makefile.PL;make;make install
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /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 inc/Module/Install/Makefile.pm line 4.
BEGIN Failed--compilation aborted at inc/Module/Install/Makefile.pm line 4.
Compilation Failed in require at inc/Module/Install.pm line 307.
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: inc /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 inc/Module/Install/Can.pm line 6.
BEGIN Failed--compilation aborted at inc/Module/Install/Can.pm line 6.
Compilation Failed in require at inc/Module/Install.pm line 307.
Can't locate ExtUtils/MM_Unix.pm in @INC (@INC contains: inc /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 inc/Module/Install/Metadata.pm line 316.

make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。


解决办法:        yum install perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker

猜你在找的Perl相关文章