FreeBSD Port: p5-Nagios-Plugin-0.17
Christian
christian at karg.org
Mon Jul 23 09:52:28 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello Gerrit,
I just installed your FreeBSD port for the Nagios::Plugin perl module.
When I first tried using Nagios::Plugin from a script, it failed with:
Can't locate Math/Calc/Units.pm in @INC (@INC contains:
/usr/local/lib/perl5/5.8.8/BSDPAN
/usr/local/lib/perl5/site_perl/5.8.8/mach
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl/5.8.6
/usr/local/lib/perl5/site_perl/5.8.5 /usr/local/lib/perl5/site_perl
/usr/local/lib/perl5/5.8.8/mach /usr/local/lib/perl5/5.8.8 .) at
/usr/local/lib/perl5/site_perl/5.8.8/Nagios/Plugin/Functions.pm line 12.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Nagios/Plugin/Functions.pm line 12.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.8/Nagios/Plugin.pm line 4.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.8/Nagios/Plugin.pm line 4.
Compilation failed in require at ./check_queue_length line 6.
BEGIN failed--compilation aborted at ./check_queue_length line 6.
I fixed the problem by doing:
# sudo portinstall p5-Math-Calc-Units
You may want to add 'p5-Math-Calc-Units' to the dependency list of
p5-Nagios-Plugin to install it automatically.
Best Regards,
Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGpHZBwZHUqtYc6toRAhb6AKC1uNNhWImAg7F4wRxq3svHUOnURQCfRwI4
DW7M4yvb4miv+cSx//JCVNo=
=i8NP
-----END PGP SIGNATURE-----
More information about the freebsd-ports
mailing list