Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I had problems when configuring and compiling ndoutils on CentOs 6.3 64 bit (CactiEZ 0.7).
I tried with ndotils verions 1.47b and 1.52, 1.52, the problems was the same.
The config.log shows errors:
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
conftest.c:10:28: error: ac_nonexistent.h: No such file or directory
conftest.c:74:20: error: socket.h: No such file or directory
conftest.c:41:20: error: socket.h: No such file or directory
conftest.c:98: error: expected expression before ')' token
conftest.c:98: error: expected expression before ')' token
conftest.c:98: error: expected expression before ')' token
conftest.c:68: error: void value not ignored as it ought to be
conftest.c:103: error: expected expression before ')' token
conftest.c:103: error: expected expression before ')' token
conftest.c:103: error: expected expression before ')' token
| /* Override any GCC internal prototype to avoid an error.
while the compiling with make produced errors too. Please find the attachment file the config.log and compiling log.
Can any one help me? Thank you very much in advance!
From your logs, it looks like you are missing glibc-headers, and specifically socket.h, Let's check a few things and verify what might be happening. That conftest.c is specifically used in configure to verify whether everything is there, that is needed. I'm not entirely sure how you got through a proper sane make without socket.h though.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
I tried to include the socket.h to conftest.c. However, I could not find conftest.c, i.e. find / -name conftest.c gave no answer.
Bests!
Giang.
Last edited by slansing on Mon Jan 20, 2014 3:25 pm, edited 1 time in total.
Reason:Bump post was deleted, do not double post in that fashion, it will only place you lower on the list of "to be replied to."
Alright, we are going to back up and try this from the start, first, what version of Nagios are you trying to install NDOutils on? We need this so we can make sure to compile the proper one.