I’m installing nagios for the first time. I’ve gotten as far as installing the plugins, and ‘make check’ is giving me errors that Cache.pm can’t be found. I’ve searched the whole machine and this file doesn’t exist anywhere. I don’t know how to get it. I’m using RedHat 9… is this supported?
OK, i recently was having some nightmare with perl, I installed perl from source, but left my rpm install intact, messed around for a week, and eventually went back to the rpm. Bottom line is, I did this on the ~/src/nagios-plugins-1.4 as you may have.
./configure
make
make check
and got this for output
Can’t locate Cache.pm in @INC Plus a mess of other lines.
I then did this
perl -MCPAN -e 'install Cache::File’
Then
make distclean
./configure
make
make check
with no errors but it hung during some snmp check, so running make install should be no trouble since everthing did compile.