Operating System - HP-UX
1845858 Members
4570 Online
110250 Solutions
New Discussion

Re: REQUEST: compiled nagios plugins

 
Lucien Wolfs
Valued Contributor

REQUEST: compiled nagios plugins

Hi y'all,

I successfully compiled the nagios sources into a binary. Now nagios needs plugins. The compile process constantly fails
Configure:

checking regex.h usability... no
checking regex.h presence... yes
configure: WARNING: regex.h: present but cannot be compiled
configure: WARNING: regex.h: check for missing prerequisite headers?
configure: WARNING: regex.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for regex.h... yes
checking for sys/types.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... no
checking sys/socket.h presence... yes
configure: WARNING: sys/socket.h: present but cannot be compiled
configure: WARNING: sys/socket.h: check for missing prerequisite headers?
configure: WARNING: sys/socket.h: proceeding with the preprocessor's result
configure: WARNING: ## ------------------------------------ ##
configure: WARNING: ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING: ## ------------------------------------ ##
checking for sys/socket.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no


and GMAKE

In file included from netutils.h:38,
from check_http.c:34:
/usr/include/sys/socket.h:484: error: parse error before "sendfile"
/usr/include/sys/socket.h:484: error: parse error before "bsize_t"
/usr/include/sys/socket.h:486: error: parse error before "sendpath"
/usr/include/sys/socket.h:486: error: parse error before "bsize_t"
In file included from check_http.c:167:
/usr/local/include/regex.h:145: error: parse error before "re_void"
/usr/local/include/regex.h:314: error: parse error before "_ANSI_ARGS_"
/usr/local/include/regex.h:323: error: parse error before "_ANSI_ARGS_"
/usr/local/include/regex.h:326: error: parse error before "_ANSI_ARGS_"
gmake[2]: *** [check_http.o] Error 1


Did anybody get a better result AND wants it to share with me (or knows where to download it) ?
3 REPLIES 3
Michael Denney
Valued Contributor

Re: REQUEST: compiled nagios plugins

I just happened to get the Nagios 1.4 plugins compiled today for hpux 11.11. I had to use GNU make. However, I am unable to attach a gzipped-tarball because the tarball is 2.5 megs and the limit here is 1 meg.

Your log files from make and gmake appears that you are missing some library files for cc..or gcc. However, I am no expert on make or CC.

You might try a fresh install of GCC.
Michael Denney
Valued Contributor

Re: REQUEST: compiled nagios plugins

If you have an alternate method of recieving the 2.5meg tarball of the compiled plugins besides this message board, let me know.
Lucien Wolfs
Valued Contributor

Re: REQUEST: compiled nagios plugins

Michael,

I would be gratefull to receive this tarball. You can sent is by email to l.l.g.m.wolfs@kpn.com.

Thanks in advance !