Problem compiling nagios-plugins-1.4-beta1

Winkles, William (Bill) billwinkles at lucent.com
Tue Jan 4 19:25:47 CET 2005


Hi,

 

I'm having problems compiling nagios-plugins-1.4-beta1 on my Solaris 9 box.
I am not getting any errors when I run configure, but when I run make, it is
always bombing out with openssl.  Is there a specific version of openssl I
should be using?  Currently I am using openssl-0.9.7e.  I have Nagios
version 2.0b1 installed.

 

I have tried using configure by itself and I have also tried ./configure
-with-openssl=/usr/local/ssl.  I also tried specifying
-with-openssl=<openssl source tree>

 

Each time, configure ends with:

                     --with-cgiurl: /nagios/cgi-bin

                --with-nagios-user: nagios

               --with-nagios-group: nagios

               --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin

               --with-ping-command: /usr/sbin/ping -n -s %s 56 %d

              --with-ping6-command:

                      --with-lwres: no

                       --with-ipv6: yes

                    --with-openssl: yes

      --enable-emulate-getaddrinfo: no

 

Output of make each time fails with:

 

gcc  -g -O2  -L. -L../openssl-0.9.7e/lib -o check_dummy  check_dummy.o
utils.o .

./lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -liconv -lgen
-lso

cket  -I../openssl-0.9.7e/include

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I

.. -I.. -I../lib -I../intl     -g -O2 -MT check_http.o -MD -MP -MF
".deps/check_

http.Tpo" -c -o check_http.o check_http.c; \

then mv -f ".deps/check_http.Tpo" ".deps/check_http.Po"; else rm -f
".deps/check

_http.Tpo"; exit 1; fi

check_http.c:50:26: openssl/rsa.h: No such file or directory

check_http.c:51:29: openssl/crypto.h: No such file or directory

check_http.c:52:27: openssl/x509.h: No such file or directory

check_http.c:53:26: openssl/pem.h: No such file or directory

check_http.c:54:26: openssl/ssl.h: No such file or directory

check_http.c:55:26: openssl/err.h: No such file or directory

check_http.c:56:27: openssl/rand.h: No such file or directory

check_http.c:64: error: parse error before '*' token

check_http.c:64: warning: data definition has no type or storage class

check_http.c:65: error: parse error before '*' token

check_http.c:65: warning: data definition has no type or storage class

check_http.c:66: error: parse error before '*' token

check_http.c:66: warning: data definition has no type or storage class

check_http.c:68: error: parse error before '*' token

check_http.c: In function `main':

check_http.c:172: warning: assignment makes pointer from integer without a
cast

check_http.c: In function `check_http':

check_http.c:735: warning: assignment makes pointer from integer without a
cast

check_http.c:819: error: `SSL_ERROR_SSL' undeclared (first use in this
function)

check_http.c:819: error: (Each undeclared identifier is reported only once

check_http.c:819: error: for each function it appears in.)

check_http.c: In function `connect_SSL':

check_http.c:1178: error: `SSL_METHOD' undeclared (first use in this
function)

check_http.c:1178: error: `meth' undeclared (first use in this function)

check_http.c:1189: warning: assignment makes pointer from integer without a
cast

check_http.c:1206: warning: assignment makes pointer from integer without a
cast

check_http.c: At top level:

check_http.c:1230: error: parse error before '*' token

check_http.c: In function `check_certificate':

check_http.c:1232: error: `ASN1_STRING' undeclared (first use in this
function)

check_http.c:1232: error: `tm' undeclared (first use in this function)

check_http.c:1239: error: `certificate' undeclared (first use in this
function)

check_http.c:1242: error: `V_ASN1_UTCTIME' undeclared (first use in this
functio

n)

make[2]: *** [check_http.o] Error 1

make[2]: Leaving directory `/home/billy/nagios-plugins-1.4-beta1/plugins'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory `/home/billy/nagios-plugins-1.4-beta1'

make: *** [all] Error 2

bash-2.05#

 

Any help in getting this compiled is appreciated.

 

Thanks.

 

Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050104/7b649277/attachment.html>


More information about the Developers mailing list