开启辅助访问 切换到窄版

Mysql编译安装MHA问题总结

[复制链接]
作者:hanhongwen 
版块:
Linux Linux-问题解决方案 发布时间:2017-7-9 15:03:46
4840

管理员

积分
11366
QQ
hanhongwen 发表于 2017-7-9 15:03:46 | 显示全部楼层 |阅读模式
问题一,如下所示
  1. # perl Makefile.PL
  2. 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.
  3. BEGIN failed--compilation aborted at inc/Module/Install/Can.pm line 6.
  4. Compilation failed in require at inc/Module/Install.pm line 307.
  5. 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.
  6. BEGIN failed--compilation aborted at inc/Module/Install/Makefile.pm line 4.
  7. Compilation failed in require at inc/Module/Install.pm line 307.
  8. 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.
复制代码


解决方法
yum -y install perl-DBD-MySQL perl-ExtUtils-MakeMaker perl-CPAN

如上操作,把组件重新安装一下,然后再执行安装,即可通过

























    15561578755
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表