[Nagiosplug-help] nrpe on solaris MAKE error
Christine Ross
cross at hccs.com
Thu Sep 20 21:08:49 CEST 2007
Thank you very much, that worked. I did not have a tcpd.h on this
machine but had one on another machine that had wrappers installed. I
also compared it to the version in the latest download and it is the
same.
Do you see any problem with the way I did this?
Thanks
Christine
---------------------
arielle# more /usr/include/tcpd.h
/*
* @(#) tcpd.h 1.5 96/03/19 16:22:24
*
* Author: Wietse Venema, Eindhoven University of Technology, The
Netherlands.
*/
/* Structure to describe one communications endpoint. */
----------------------
arielle# make all
cd ./src/; make ; cd ..
make[1]: Entering directory `/home1/users/cross/nrpe-2.8.1/src'
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl
-lcrypto -lnsl -lsocket -lwrap -liberty
gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
-DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/local/ssl/lib
-lssl -lcrypto -lnsl -lsocket -liberty
make[1]: Leaving directory `/home1/users/cross/nrpe-2.8.1/src'
*** Compile finished ***
If the NRPE daemon and client compiled without any errors, you
can continue with the installation or upgrade process.
Read the PDF documentation (NRPE.pdf) for information on the next
steps you should take to complete the installation or upgrade.
-----Original Message-----
From: bobi at netshel.net [mailto:bobi at netshel.net]
Sent: Wednesday, September 19, 2007 3:36 PM
To: Christine Ross
Cc: nagiosplug-help at lists.sourceforge.net
Subject: Re: [Nagiosplug-help] nrpe on solaris MAKE error
It's failing because it didn't properly include the tcpwrappers header
file (tcpd.h), eben though configure detected tcpwrappers (libwrap)
onyour
system.
I'd verify that you have tcpd.h in the usual spots (/usr/include or
/usr/local/include).
If you don't have this file, then you'll need to download the
tcpwrappers
development package for Solaris and install it.
Bob
> I'm trying to compile the nrpe 2.8.1 plugin on a Solaris 8 server and
> the make is failing. The configure went fine.
>
>
>
> Any ideas?
>
> Thanks
>
> -------------------------------
>
>
>
> arielle% ./configure
>
> arielle% make
>
> cd ./src/; make ; cd ..
>
> make[1]: Entering directory `/home1/users/cross/nrpe-2.8.1/src'
>
> gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include
> -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl
> -lcrypto -lnsl -lsocket -lwrap -liberty
>
> nrpe.c: In function `wait_for_connections':
>
> nrpe.c:634: error: storage size of `req' isn't known
>
> nrpe.c:824: error: `RQ_DAEMON' undeclared (first use in this function)
>
> nrpe.c:824: error: (Each undeclared identifier is reported only once
>
> nrpe.c:824: error: for each function it appears in.)
>
> nrpe.c:824: error: `RQ_FILE' undeclared (first use in this function)
>
> make[1]: *** [nrpe] Error 1
>
> make[1]: Leaving directory `/home1/users/cross/nrpe-2.8.1/src'
>
>
>
> *** Compile finished ***
>
>
>
> If the NRPE daemon and client compiled without any errors, you
>
> can continue with the installation or upgrade process.
>
>
>
> Read the PDF documentation (NRPE.pdf) for information on the next
>
> steps you should take to complete the installation or upgrade.
>
>
>
> Sincerely,
>
> Christine Ross
> hccs - Experts in Healthcare Learning
> (516)478-4100, x108
> cross at hccs.com <mailto:cross at hccs.com>
>
> HCCS provides online training courses and learning management systems
to
> healthcare facilities. HCCS has provided over 2.5 million hours of
> compliance and competency training courseware to hospitals, teaching
> facilities, medical schools, health plans and other health care
> entities. The HCCS Compliance Learning Library contains expert
training
> content in the areas of Medicare, Medicaid, HIPAA, Harassment,
Research,
> Patient Safety and Quality Improvement Compliance. The HCCS
Healthcare
> Learning Platform (HLP) is a healthcare specific Learning and
Competency
> Management System. http://www.hccs.com (516) 478-4100 or (877)
> 933-hccs.
>
> This email message is for the sole use of the intended recipient(s)
and
> contains confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution is strictly prohibited. If you
> are not the intended recipient or have received this communication in
> error please contact the sender by reply e-mail and destroy all copies
> of the original message. Thank you.
>
>
>
>
------------------------------------------------------------------------
-
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
>
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_________________
______________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
> ::: Please include plugins version (-v) and OS when reporting any
issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
More information about the Help
mailing list