compile nagios-plugins-1.4.11

bjlockie at lockie.ca bjlockie at lockie.ca
Thu Jan 17 22:45:10 CET 2008


I got an error compiling the nagios-plugins-1.4.11:

gcc -DLOCALEDIR=\"/home/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..
-I.. -I../lib -I../gl -I../intl   -I/usr/local/ssl/include  -D_REENTRANT
-I/usr/local/ssl/include  -g -O2 -c check_procs.c
check_procs.c: In function `main':
check_procs.c:185: parse error before `%'
make[2]: *** [check_procs.o] Error 1

My configure was:
./configure --prefix=/home/nagios --exec-prefix=/home/nagios
--with-nagios-user=nagios --with-nagios-group=nobody --enable-perl-modules
--with-ps-command=/usr/bin/ps --with-ps-format=pid,pcpu,vsz,etime
--with-ps-cols=4 --with-ps-varlist='%d %d.%d %d %d:%d'
--with-ping-command='-n -U -c 5'
--with-nslookup-command=/usr/sbin/nslookup
--with-uptime-command=/usr/bin/uptime
--with-rpcinfo-command=/usr/bin/rpcinfo
--with-snmpget-command=/usr/local/bin/snmpget
--with-snmpgetnext-command=/usr/local/bin/snmpgetnext
--with-ssh-command=/usr/local/bin/ssh --with-mailq-command=/usr/bin/mailq
--with-dig-command=/usr/local/bin/dig



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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