Can't locate CPAN.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr....

前端之家收集整理的这篇文章主要介绍了Can't locate CPAN.pm in @INC (@INC contains: inc /usr/local/lib64/perl5 /usr....前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

os:CentOS release 6.5 



今天在部署MysqL 5.6 MHA执行到perl Makefile.PL的时候,报错Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5......


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

如果不想用cpan安装,那就使用下面这条命令
yum install perl-ExtUtils-Embed -y

猜你在找的Perl相关文章