[Nagiosplug-help] nagios-plugin unable to compile on a solaris 10 machine

Thomas Guyot-Sionnest dermoth at aei.ca
Mon Sep 10 15:30:51 CEST 2007


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

On 10/09/07 09:03 AM, RaJESH KANNA wrote:
> Hi,
> 
>          
> 
> 
> On Mon, 10 Sep 2007 Andreas Ericsson wrote :
>>RaJESH KANNA wrote:
>>>Hi,
>>>
>>>I am unable to compile nagios-plugin on a solaris  sparc machine. Has
> someone come across this error. Kinldy help.  Note : i tried
> disable-ssl,disable-mysql. installed GNU make,gcc etc.
>>>  nagios plugin version : 1.4.9  OS : solaris 10
>>>    #./configure works    #make ( throws below mentioned error)
>>
>>
>>GNU make installs as 'gmake' on Solaris, so the 'gmake' error output
>>would have been more helpful.
> 
> 
> gmake output is as follows.
> 
> Note :  $ ./configure --with-openssl=no --with-mysql=no

- From the output shown it look like it's still compiling SSL. Try:
$ ./configure --without-openssl --without-mysql

To be sure look for the following lines at the end of the configure script:

                      --with-mysql: no
                    --with-openssl: no

BTW On my Solaris 10 box OpenSSL works perfectly with the OpenSSL
library that came with Solaris. Have you tried "--without-mysql alone ?

For MySQL though there is a problem because mysql_config gives Sun CC
flags that are used in the Makefile. The easiest workaround is to edit
the makefile and remove the flags. Using Sun CC should work too.

Thomas

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

iD8DBQFG5UcK6dZ+Kt5BchYRAs4HAKCUIdlvb+FouCjXZLYclvW5gJAJuQCg5Rxt
LP7F52TWuhbWhOrdXEEEX9c=
=Z+GH
-----END PGP SIGNATURE-----




More information about the Help mailing list