[Nagiosplug-devel] oddity about check_procs plugin and solaris
dermoth at aei.ca
Tue Nov 10 11:54:48 CET 2009
-----BEGIN PGP SIGNED MESSAGE-----
On 26/03/09 02:24 PM, Philip Brown wrote:
> BTW, there is a bug in the pst3 configuration:
> if test `isainfo -b` = 64 ; then
> is inappropriate. -m64 is a compiler-specific flag.
> I just did some browsing through the libtool docs. I'm stunned that with all
> the OTHER flags it has, there is no "bittedness" flag yet.
> SO i guess you should do a check for CC=gcc vs CC=cc there and select
> appropriate 64bit flag?
A wile ago I patched configure.in to try detecting it but never sent out
the patch. It seems to work well for me, unfortunately I have no sun cc
nor x86-64 architectures to test with.
You can test the attached patch if you wish... There should also soon be
a snapshot there if you don't have autoconf/automake installed on your
solaris servers (use nagios-plugins-pst3_suncc_fix.tar.gz):
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2575 bytes
Desc: not available
More information about the Devel