Page 1 of 1

nrpe v2.15 does not make successfully

Posted: Wed Mar 05, 2014 5:19 am
by shorif2000
I am trying to upgrade my nrpe version, v2.12 works perfectly fine with the patch

Code: Select all

wget http://altinity.blogs.com/dotorg//nrpe_multiline.patch
If I configure nrpe without ssl it fails.

[root@tanaga nrpe-2.15]# ./configure --disable-ssl
*** Configuration summary for nrpe 2.15 09-06-2013 ***:

General Options:
-------------------------
NRPE port: 5666
NRPE user: nagios
NRPE group: nagios
Nagios user: nagios
Nagios group: nagios


Review the options above for accuracy. If they look okay,
type 'make all' to compile the NRPE daemon and client.

Code: Select all

[root@tanaga nrpe-2.15]# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/root/nagios/nrpe-2.15/src'
gcc -g -O2 -DHAVE_CONFIG_H -I ../include -I ./../include -o nrpe ./nrpe.c ./utils.c ./acl.c  -lnsl   
./nrpe.c:103: error: expected ‘)’ before ‘*’ token
./nrpe.c:1799: error: expected ‘)’ before ‘*’ token
make[1]: *** [nrpe] Error 1
make[1]: Leaving directory `/root/nagios/nrpe-2.15/src'

*** Compile finished ***

If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.

Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.

Re: nrpe v2.15 does not make successfully

Posted: Wed Mar 05, 2014 12:34 pm
by abrist
What platform are you trying to build on?