Can't locate Log/Dispatch.pm in @INC /Makefile out-of-date with respect to Makefile.PL

mha check的时候报错问题解决:

#  masterha_check_ssh --conf=/data/mha/app1.cnf
Can‘t locate Log/Dispatch.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 /usr/local/share/perl5/MHA/SSHCheck.pm line 29.
BEGIN failed--compilation aborted at /usr/local/share/perl5/MHA/SSHCheck.pm line 29.
Compilation failed in require at /usr/local/bin/masterha_check_ssh line 25.
BEGIN failed--compilation aborted at /usr/local/bin/masterha_check_ssh line 25.

# 解决方法

yum install perl-Mail-Sender

yum install perl-Log-Dispatch

Makefile out-of-date with respect to Makefile.PL

[这个问题是由于系统时间不正确造成的]

/usr/bin/perl "-Iinc" Makefile.PL --config= --installdeps=Parallel::ForkManager,0
^[[A*** Installing dependencies...
*** Installing Parallel::ForkManager...
Running [/usr/bin/perl /usr/bin/cpanp-run-perl /root/.cpanplus/5.10.1/build/Parallel-ForkManager-1.19/Makefile.PL]...
Warning: prerequisite Test::More 0.94 not found. We have 0.92.
Warning: prerequisite Test::Warn 0 not found.
Writing Makefile for Parallel::ForkManager
Running [/usr/bin/perl /usr/bin/cpanp-run-perl /root/.cpanplus/5.10.1/build/Test-Simple-1.302086/Makefile.PL]...
Writing Makefile for Test::Simple
[ERROR] MAKE failed: No such file or directory make[1]: Entering directory `/root/.cpanplus/5.10.1/build/Test-Simple-1.302086‘
make[1]: Warning: File `Makefile.PL‘ has modification time 1.3e+06 s in the future
Makefile out-of-date with respect to Makefile.PL
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean > /dev/null 2>&1
/usr/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Test::Simple
==> Your Makefile has been rebuilt. <==
==> Please rerun the make command.  <==
false
make[1]: Leaving directory `/root/.cpanplus/5.10.1/build/Test-Simple-1.302086‘
make[1]: *** [Makefile] Error 1

[ERROR] Unable to create a new distribution object for ‘Test::More‘ -- cannot continue

[ERROR] Failed to install ‘Test::More‘ as prerequisite for ‘Parallel::ForkManager‘

[ERROR] Unable to satisfy prerequisites for ‘Parallel::ForkManager‘ -- aborting install

[ERROR] Unable to create a new distribution object for ‘Parallel::ForkManager‘ -- cannot continue

Key ‘ok‘ () is of invalid type for ‘CPANPLUS::Backend::RV::new‘ provided by CPANPLUS::Backend::__ANON__ at /usr/share/perl5/CPANPLUS/Backend.pm line 398
*** Parallel::ForkManager installation cancelled.
*** Module::AutoInstall installation finished.
Appending installation info to /usr/lib64/perl5/perllocal.pod

系统时间不对导致,调整时间 ntpdate ntp.api.bz

  

Can't locate Log/Dispatch.pm in @INC /Makefile out-of-date with respect to Makefile.PL

时间: 2024-09-29 00:34:43

Can't locate Log/Dispatch.pm in @INC /Makefile out-of-date with respect to Makefile.PL的相关文章

Can&#39;t locate Log/Dispatch.pm in @INC

记录一下配置mha的时候遇到的错误,使用perl模块发送邮件的时候报以下错误: # masterha_check_ssh --conf=/data/mha/app1.cnf Can't locate Log/Dispatch.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/l

can&#39;t locate ExtUtils/MakeMaker.pm in @INC

[[email protected] FCGI-0.71]# perl Makefile.PL can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at Makef

Can&#39;t locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib

苹果电脑上使用perl发现下面这个错误: Can't locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib 解决方法: sudo cpan install XML::Simple 这个安装时间有点长. Can't locate XML/Simple.pm in @INC (@INC contains: /opt/local/lib

Can&#39;t locate Time/HiRes.pm in @INC

ERROR innobackupex --user=root  --defaults-file=/usr/local/mysql/my.cnf Can't locate Time/HiRes.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/s

sourceTree 更新svn提示can&#39;t locate SVN/Core.pm

| 导语 使用sourceTree管理SVN,报错 can‘t locate SVN/Core.pm 详细报错: Can‘t locate SVN/Core.pm in @INC (you may need to install the SVN::Core module) (@INC contains: /usr/local/git/lib/perl5/site_perl /Applications/SourceTree.app/Contents/Resources/git_local/lib/

linux安装软件报错: Can&#39;t locate ExtUtils/Embed.pm in @INC...

安装snmp服务, 中间报错: Can't locate ExtUtils/Embed.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 .).BEGIN failed--compilation aborted. 到网上

Can&#39;t locate Time/HiRes.pm in @INC (@INC contains

Can't locate Time/HiRes.pm in @INC (@INC contains: /usr/local/lib/perl5 /usr/local/share/perl5 /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5 /usr/share/perl5 .) at /usr/bin/innobackupex line 23.BEGIN failed--compilation abort

Can&#39;t locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5

今天在服务器上安装nginx,报下面的错误:Can't locate ExtUtils/Embed.pm in @INC (@INC contains: /usr/local/lib64/perl5,以为是没有装perl,就去yum install perl perl-dev都给装了,还是没有解决问题,最后找到个老外的论坛上才知道怎么解决. 系统:centos 6.3 64位 解决办法: yum install cpan -y yum install perl-ExtUtils-CBuilder

Linux 安装MySql启动Can&#39;t locate Data/Dumper.pm in @INC

通过RPM包CentOS7 安装MySQL的时候提示“Can't locate Data/Dumper.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 /usr/bin/mysql_install_db l