编译报错 :*** [all-local] Error 2

nrpe 编译报错

Using Makefile.PL
Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: /tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98/blib/lib /tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98/blib/arch /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 Makefile.PL line 6.
BEGIN failed--compilation aborted at Makefile.PL line 6.
make[3]: Entering directory `/tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98'
make[3]: *** No targets specified and no makefile found.  Stop.
make[3]: Leaving directory `/tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98'
Can't run make. Please
        rm -rf /tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods/Test-Simple-0.98
to remake from this point) at ../tools/build_perl_modules line 235.
make[2]: *** [all-local] Error 2
make[2]: Leaving directory `/tools/anloqnagios/nagios-plugins-release-2.2.1/perlmods'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tools/anloqnagios/nagios-plugins-release-2.2.1'
make: *** [all] Error 2

这个是缺少Perl模块导致 安装

yum -y install perl-ExtUtils-MakeMaker

然后再次make&&make install

你可能感兴趣的:(nrpe,nagios,nagios)