Nagios Plugins build under SPARC Solaris8 with SUNWspro CC fails

Chris Wilson chris at aidworld.org
Tue Jul 19 14:34:53 CEST 2005


Hi all,

> Ralph.Grothe at itdz-berlin.de wrote:

> > This is how I ran configure
> > 
> > # CC=/opt/SUNWspro/bin/cc
> > CPPFLAGS=-I/usr/local/ssl/include/openssl ./configure
> > --with-nagios-user=informix --with-nagios-group=informix
> > --with-openssl=/usr/local/ssl --with-ping-command=/usr/sbin/ping
[...]
> > check_http.c
> > "check_http.c", line 50: cannot find include file:
> > <openssl/rsa.h>
[...]
> The --with-openssl=/usr/local/ssl   is correct, but I think the 
> -I/usr/local/ssl/include/openssl  in the CFLAGS is overriding the 
> correct flag and causing an error.

I would try "-I/usr/local/ssl/include" instead, as check_http seems to
assume that the OpenSSL header files will be in a subdirectory called
"openssl" of the include path.

Cheers, Chris.
-- 
(aidworld) chris wilson | chief engineer (chris at aidworld.org)



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list