[Nagiosplug-help] Plugin Compile Problem

Voon, Ton Ton.Voon at egg.com
Tue Mar 11 03:21:22 CET 2003


Glad to hear your SSL is fine now. I know next to nothing about radius stuff
I'm afraid. I'd suggest a trawl through the list archives (as I seem to
recall some Radius problems before) otherwise a new thread to this list...

> -----Original Message-----
> From:	Mike A. Davis [SMTP:madavis at commspeed.net]
> Sent:	Monday, March 10, 2003 11:46 PM
> To:	'Voon, Ton'; nagiosplug-help at lists.sourceforge.net
> Subject:	RE: [Nagiosplug-help] Plugin Compile Problem
> 
> Ton,
> 
> I have OpenSSL v0.9.7a installed, but I also just came across a much,
> much older pre-installed copy of openssl in prefix=/usr...  v0.9.3
> (YIKES).  Of course, configure was looking to this one instead of the
> copy in /usr/local/ssl.  
> 
> Wiping the old copy, and using  --with-openssl=/usr/local/ssl got me
> past...  Thanks for pointing me into the right direction.
> 
> Unfortunately, I still cannot get the plugins to completely compile.
> Looks like a radius problem this time.  When compiling, I am confronted
> with:
> 
> gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib
> -I/usr/local/ssl/include     -g -O2 -c check_radius.c
> check_radius.c: In function `main':
> check_radius.c:153: `BUFFER_LEN' undeclared (first use in this function)
> check_radius.c:153: (Each undeclared identifier is reported only once
> check_radius.c:153: for each function it appears in.)
> make[1]: *** [check_radius.o] Error 1
> make[1]: Leaving directory `/home/admin/nagios-plugins-1.3.0/plugins'
> make: *** [all-recursive] Error 1
> 
> I have radiusclient-0.3 installed, and configure seems to find it ok.
> Even so, I've tried installing the RPMS for radiusclient and
> radiusclient-devel with no luck.  Any ideas?  Thanks much!
> 
> Mike A. Davis
> 
> -----Original Message-----
> From: Voon, Ton [mailto:Ton.Voon at egg.com] 
> Sent: Monday, March 10, 2003 3:15 AM
> To: 'Mike A. Davis'; nagiosplug-help at lists.sourceforge.net
> Subject: RE: [Nagiosplug-help] Plugin Compile Problem
> 
> Mike,
> 
> It looks like ssl has been found. Are you using OpenSSL? If so, which
> version? I normally compile with --with-openssl=/usr/local/ssl.
> 
> If you are not using OpenSSL, it is possible that RAND_status is not
> supported. Take out lines 875 and 876 of check_http.c and see if that
> compile successfully.
> 
> Let us know how it goes.
> 
> Ton
> 
> > -----Original Message-----
> > From:	Mike A. Davis [SMTP:madavis at commspeed.net]
> > Sent:	Saturday, March 08, 2003 11:11 PM
> > To:	nagiosplug-help at lists.sourceforge.net
> > Subject:	[Nagiosplug-help] Plugin Compile Problem
> > 
> > Hi,
> >  
> > I am trying to install nagios-plugins-1.3.0 for nagios-1.0.  
> >  
> > The compile errors out with the following information:
> >  
> > gcc  -g -O2 -L. -L/usr/lib -o check_http  check_http.o netutils.o
> utils.o
> > ../lib/libnagiosplug.a -lnsl -lresolv -lssl -lcrypto -lelf 
> > check_http.o: In function `connect_SSL':
> > /home/admin/nagios-plugins-1.3.0/plugins/check_http.c:876: undefined
> > reference to `RAND_status'
> > collect2: ld returned 1 exit status
> > make[1]: *** [check_http] Error 1
> > make[1]: Leaving directory `/home/admin/nagios-plugins-1.3.0/plugins'
> > make: *** [all-recursive] Error 1
> >  
> > My configure line is:  ./configure --prefix=/home/nagios 
> > All prerequisites are installed except for:  pgsql, ldap, smbclient
> and
> > qstat  (I dont use them)
> > The machine is a Cobalt RaQ3 - Cobalt (Redhat(ripoff)) Linux
> 2.2.16C32_III
> > on i586
> >  
> > Any help is greatly appreciated.  Thanks much.
> >  
> > Mike A. Davis
> 
> 
> This private and confidential e-mail has been sent to you by Egg.
> The Egg group of companies includes Egg Banking plc
> (registered no. 2999842), Egg Financial Products Ltd (registered
> no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
> carries out investment business on behalf of Egg and is regulated
> by the Financial Services Authority.  
> Registered in England and Wales. Registered offices: 1 Waterhouse
> Square,
> 138-142 Holborn, London EC1N 2NA.
> If you are not the intended recipient of this e-mail and have
> received it in error, please notify the sender by replying with
> 'received in error' as the subject and then delete it from your
> mailbox.
> 




More information about the Help mailing list