主页 > 知识库 > 解决Can't locate ExtUtils/MakeMaker.pm in @INC报错

解决Can't locate ExtUtils/MakeMaker.pm in @INC报错

热门标签:温州瑞安400电话怎么申请 百度地图标注后不显示 昆明电信400电话办理 俄国地图标注app 电销机器人 行业 淄博400电话申请 电销机器人各个细节介绍 电话机器人市场趋势 南昌高频外呼系统哪家公司做的好

在安装mha4mysql时,大概步骤是:解压,perl Makefile.PL,make, make install。在执行 perl Makefile.PL 报错如下,简单记录一下解决方法

# perl Makefile.PL
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 5.
BEGIN failed--compilation aborted at inc/Module/Install/Can.pm line 5.
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/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/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 322.

安装依赖

yum install perl-ExtUtils-MakeMaker

继续报错

# perl Makefile.PL
*** Module::AutoInstall version 1.06
*** Checking for Perl dependencies...
Can't locate CPAN.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/AutoInstall.pm line 304.

yum -y install perl-CPAN

总结

以上就是这篇文章的全部内容了,希望本文的内容对大家的学习或者工作具有一定的参考学习价值,谢谢大家对脚本之家的支持。如果你想了解更多相关内容请查看下面相关链接

您可能感兴趣的文章:
  • MySQL left join操作中on和where放置条件的区别介绍
  • SQL语句执行深入讲解(MySQL架构总览->查询执行流程->SQL解析顺序)
  • Mysql InnoDB引擎的索引与存储结构详解
  • PHP的mysqli_thread_id()函数讲解
  • PHP的mysqli_stmt_init()函数讲解
  • PHP的mysqli_stat()函数讲解
  • PHP的mysqli_ssl_set()函数讲解
  • PHP的mysqli_sqlstate()函数讲解
  • PHP的mysqli_set_charset()函数讲解
  • PHP的mysqli_select_db()函数讲解

标签:吐鲁番 嘉峪关 葫芦岛 拉萨 洛阳 海口 安徽 甘南

巨人网络通讯声明:本文标题《解决Can't locate ExtUtils/MakeMaker.pm in @INC报错》,本文关键词  解决,Can,amp,#39,locate,ExtUtils,;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 下面列出与本文章《解决Can't locate ExtUtils/MakeMaker.pm in @INC报错》相关的同类信息!
  • 本页收集关于解决Can't locate ExtUtils/MakeMaker.pm in @INC报错的相关信息资讯供网民参考!
  • 推荐文章