Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jul 2007 10:34:57 +0100
From:      Christian <christian@karg.org>
To:        gerrit.beine@gmx.de
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: p5-Nagios-Plugin-0.17
Message-ID:  <46A47641.8030203@karg.org>

next in thread | raw e-mail | index | archive | help
-----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-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46A47641.8030203>