Page 1 of 1

plugins missing

Posted: Tue Nov 27, 2012 4:22 pm
by eoindubh
I just did a fresh install of Ubuntu 10.10 server with Nagios 3.4.2 and Nagios Plugins 1.4.16. Nagios unpacked OK and installed withour error. The plugins, not so much. They unpacked without error, but when I try to run make, I get a ton of errors.

Code: Select all

make  all-recursive
make[1]: Entering directory `/downloads/nagios-plugins-1.4.16'
Making all in gl
make[2]: Entering directory `/downloads/nagios-plugins-1.4.16/gl'
make  all-recursive
make[3]: Entering directory `/downloads/nagios-plugins-1.4.16/gl'
make[4]: Entering directory `/downloads/nagios-plugins-1.4.16/gl'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/downloads/nagios-plugins-1.4.16/gl'
make[3]: Leaving directory `/downloads/nagios-plugins-1.4.16/gl'
make[2]: Leaving directory `/downloads/nagios-plugins-1.4.16/gl'
Making all in tap
make[2]: Entering directory `/downloads/nagios-plugins-1.4.16/tap'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/downloads/nagios-plugins-1.4.16/tap'
Making all in lib
make[2]: Entering directory `/downloads/nagios-plugins-1.4.16/lib'
Making all in .
make[3]: Entering directory `/downloads/nagios-plugins-1.4.16/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/downloads/nagios-plugins-1.4.16/lib'
Making all in tests
make[3]: Entering directory `/downloads/nagios-plugins-1.4.16/lib/tests'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/downloads/nagios-plugins-1.4.16/lib/tests'
make[2]: Leaving directory `/downloads/nagios-plugins-1.4.16/lib'
Making all in plugins
make[2]: Entering directory `/downloads/nagios-plugins-1.4.16/plugins'
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/include   -DNP_VERSION='"1.4.16"' -g -O2 -MT check_http.o -MD -MP -MF .deps/check_http.Tpo -c -o check_http.o check_http.c
check_http.c: In function âmainâ:
check_http.c:150: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c: In function âprocess_argumentsâ:
check_http.c:312: error: âssl_versionâ undeclared (first use in this function)
check_http.c:312: error: (Each undeclared identifier is reported only once
check_http.c:312: error: for each function it appears in.)
check_http.c:268: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:397: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c: In function âcheck_document_datesâ:
check_http.c:693: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:696: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:703: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:706: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:709: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:714: warning: ignoring return value of âasprintfâ, declared with attribute warn_unused_result
check_http.c:717: warning: ignoring return value of âasprintfâ, declared with attribute war
Is this a problem between Nagios 3.4.2 and plugins 1.4.16 or something else? I followed the directions in the HTML manual on the Nagios website for the install and saw no errors except the above.

Thanks in advance.

Re: plugins missing

Posted: Tue Nov 27, 2012 5:14 pm
by agriffin
Try installing the OpenSSL development headers and running make again:

Code: Select all

# sudo apt-get install libssl-dev