nrpe compile on solaris 8

Phil Costelloe philc at foundation-it.com
Tue May 13 13:33:19 CEST 2003


> From: Garrett, Matt M SITI-ITDIEEE [mailto:matt.garrett at shell.com] 
> 
> I am having problems compiling nrpe 2.0b3 on a solaris 8 system
> 
> Errors I am seeing are
> 
> cd ./src/; make ; cd ..
> gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H 
> -L/usr/local/ssl/lib  -lssl -lcrypto -o nrpe -lnsl -lsocket 
> nrpe.c utils.c In file included from ../common/common.h:24,
>                  from nrpe.c:21:
> ../common/config.h:54: syntax error before `typedef'
> In file included from /usr/include/sys/types.h:24,
>                  from /usr/include/strings.h:11,
>                  from ../common/config.h:74,
>                  from ../common/common.h:24,
>                  from nrpe.c:21:
> /usr/include/sys/machtypes.h:33: syntax error before 
> `typedef'
> *** Error code 1
> make: Fatal error: Command failed for target `nrpe'
> Current working directory /tmp/nrpe-2.0b3/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> 
> Any suggestions on what I am doing wrong.

Just tried to compile nrpe 2.0b3 on a Solaris 8 system that
happily compiled nrpe 1.8 and it failed big time on not
being able to find Openssl header files (which are there,
where you'd expect):

cd ./src/; make ; cd ..
gcc -g -O2 -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H
-L/usr/local/ssl/lib
  -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c
In file included from ../common/config.h:190,
                 from ../common/common.h:24,
                 from nrpe.c:21:
/usr/local/ssl/include/openssl/rsa.h:63: openssl/bio.h: No such file or
directory
/usr/local/ssl/include/openssl/rsa.h:65: openssl/bn.h: No such file or
directory
/usr/local/ssl/include/openssl/rsa.h:66: openssl/crypto.h: No such file
or directory
etc, etc, etc

So I'm afraid I can't be much help. :)

Phil


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list