[Nagiosplug-devel] oddity about check_procs plugin and solaris

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Nov 10 11:54:48 CET 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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
>                  PST3CFLAGS="-m64"
> 
> 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?

Hi,

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):
http://dermoth.users.sourceforge.net/snapshot/

Thanks

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFK+UZ46dZ+Kt5BchYRArlpAJwMQWCakMKv70JqY2bKgerXGDmi/gCg3ctW
NHa7+vIUXAICQTv4ubbnB2Y=
=OkKF
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Attempt-at-detecting-64bit-compilation-flags-between.patch
Type: text/x-patch
Size: 2575 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20091110/ba6fcb2b/attachment.bin>


More information about the Devel mailing list