[Nagiosplug-help] nagios plugins 1.4.13 - solaris

Casillas Chuy-R26810 Chuy.Casillas at freescale.com
Fri Mar 20 17:44:30 CET 2009


I also got the same 64 bit error while trying to compile Nagios plugins 1.4.13 on a Solaris 8 server using gcc 2.95.3. I installed gcc 3.3.2 from www.sunfreeware.com and required libraries and the install went fine. 

-----Original Message-----
From: Stevens, Michael [mailto:Michael_Stevens at affymetrix.com] 
Sent: Friday, March 20, 2009 9:02 AM
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] nagios plugins 1.4.13 - solaris

> 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.

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Help mailing list