nagios plugins compile issue on OS X Server 10.3.9

Shropshire, Mark mdshrops at email.uncc.edu
Thu Jan 19 16:09:57 CET 2006


I have nagios 1.3 running on OS X Server 10.3.9. I now need to compile
and install the plugins. I downloaded the latest plugins from
sourceforge (version 1.4.2).

 

When I perform the "make all", I am getting this error referencing the
check_time plugin:

 

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap      -g -O2 -MT
check_time.o -MD -MP -MF ".deps/check_time.Tpo" -c -o check_time.o
check_time.c; \

then mv -f ".deps/check_time.Tpo" ".deps/check_time.Po"; else rm -f
".deps/check_time.Tpo"; exit 1; fi

check_time.c:36: error: parse error before "server_time"

check_time.c:36: warning: data definition has no type or storage class

make[2]: *** [check_time.o] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all] Error 2

 

My configure statement is: ./configure --prefix=/opt/nagios
--with-nagios-user=nagios --with-nagios-group=nagios

 

I have searched on the net for anyone with a similar error and I can't
seem to find any info there. I was wondering if someone on this list
might be able to help point me in the right direction. It would be nice
if fink had nagios as a package, but they do not at this point.

 

Also.. I noticed that the configure did not find fping. What is the
configure switch to point to the fping directory?

 

Thanks in advance.

 

Mark Shropshire

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20060119/8f6875c1/attachment.html>


More information about the Users mailing list