Tag Archives: nrpe

Compilation error: * * [all local] error 2

Nrpe compiles error

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

This is the lack of Perl modules resulting in the installation

yum -y install perl-ExtUtils-MakeMaker

And then make&amp again; & make install