[Nagiosplug-help] nagios plugins 1.4.13 - solaris

Stevens, Michael Michael_Stevens at affymetrix.com
Fri Mar 20 17:02:16 CET 2009


> I have run into a problem for solaris 7 and 8 when installing the nagios plugin
> I am using the: nagios-plugins-1.4.13... I saw that this issue was fixed ... 
> but I still experience this bug...
>
>
> I am getting:
>
> source='pst3.c' object='pst3-pst3.o' libtool=no \
> DEPDIR=.deps depmode=gcc /bin/bash ../build-aux/depcomp \
> gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl 
> I../intl -I../plugins    -m64 -g -O2 -c -o pst3-pst3.o `test -f 'pst3.c' || echo './'`pst3.c
> cc1: -m64 is not supported by this configuration

I notice you still have a -m64 flag, and since you got a -m64 not supported message I assume you have a old 32 bit system, or a 32 bit compiler?  This is what I've done if the past to fix pst3 on Solaris:

Edit ./plugins-root/Makefile and remove the -m64 flag from the PST3_CFLAGS and PST3_LDFLAGS variables.

After that, all should be well.  FWIW, 1.4.13 compiles out of the box for me on an old Ultra 5 running Solaris 8  with gcc 3.3.2.
------------------------------------------------------------

This transmission is intended for the sole use of the individual
and entity to whom it is addressed, and may contain information
that is privileged, confidential and exempt from disclosure under
applicable law. You are hereby notified that any use,
dissemination, distribution or duplication of this transmission by
someone other than the intended addressee or its designated agent
is strictly prohibited. If you have received this transmission in
error, please notify the sender immediately by reply to this
transmission and delete it from your computer.




More information about the Help mailing list