get errors when compiling NRPE 2.13 on HPUX 11.31

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.
Locked
dstone
Posts: 6
Joined: Fri Apr 27, 2012 12:18 pm
Location: lost in Mississippi

get errors when compiling NRPE 2.13 on HPUX 11.31

Post by dstone »

get errors when compiling NRPE 2.13 on HPUX 11.31 (see below)... any body else ran into this, did n't see anything online.....

./configure
.....
checking for socklen_t... yes
checking for type of socket size... size_t
checking for SSL headers... SSL headers found in /usr
checking for SSL libraries... configure: error: Cannot find ssl libraries

make all
Make: Don't know how to make all. Stop.


[email protected]
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: get errors when compiling NRPE 2.13 on HPUX 11.31

Post by agriffin »

Do you have the OpenSSL development libraries installed?
dstone
Posts: 6
Joined: Fri Apr 27, 2012 12:18 pm
Location: lost in Mississippi

Re: get errors when compiling NRPE 2.13 on HPUX 11.31

Post by dstone »

i am past that... . now i 'm getting this when i run make all.....

# make all
cd ./src/; make ; cd ..
cc -I/usr/include/openssl -I/usr/include -DHAVE_CONFIG_H -c ./snprintf.c
(Bundled) cc: "/usr/include/openssl/stack.h", line 73: warning 5: "const" will become a keyword.
(Bundled) cc: "/usr/include/openssl/stack.h", line 73: error 1000: Unexpected symbol: "char".
(Bundled) cc: "/usr/include/openssl/stack.h", line 73: warning 5: "const" will become a keyword.
(Bundled) cc: "/usr/include/openssl/stack.h", line 73: warning 5: "const" will become a keyword.
(Bundled) cc: "/usr/include/openssl/stack.h", line 73: warning 5: "const" will become a keyword.
(Bundled) cc: panic 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
#
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: get errors when compiling NRPE 2.13 on HPUX 11.31

Post by agriffin »

Unfortunately I'm not sure how to help you there. I don't have any HPUX machines to test against. Have you seen this package for HPUX? I haven't tried it but it's what came up when I search for "hpux nrpe".
dstone
Posts: 6
Joined: Fri Apr 27, 2012 12:18 pm
Location: lost in Mississippi

Re: get errors when compiling NRPE 2.13 on HPUX 11.31

Post by dstone »

i did noticed that, but i wasn't sure if could trust a binary from a unknown source due to security policies in my data center...i was hoping to compile my own copy for HPUX... as i did for a bunch Red Hat servers, which that compiled as advertise with no problems............ thanks for your help, i appreciate it.
bsfez
Posts: 23
Joined: Tue May 08, 2012 8:41 am

Re: get errors when compiling NRPE 2.13 on HPUX 11.31

Post by bsfez »

I had this too !
I sort it out disabling the ssl feature : ./config --disable-ssl
Locked