Team,
I compiled and manually installed nrpe 2.15 server successfully using the below command. While compilation it’s saying SSL library path is ( Yellow) but while building package getting error as mentioned in RED. If this resolved I am ready to deliver the solaris 9 package but stuck up in the final stage need help.
checking for SSL headers... SSL headers found in /usr/local/ssl/include/..
checking for SSL libraries... SSL libraries found in /usr/local/ssl/lib
checking for SSL headers... SSL headers found in /usr/local/ssl
checking for SSL libraries... configure: error: Cannot find ssl libraries
*** Error code 1
make: Fatal error: Command failed for target `build'
Current working directory /home/nagios/testing/nrpe-2.15/package/solaris
*** Error code 1
make: Fatal error: Command failed for target `solaris-package'
Please find the attachment for errors and command
Building nrpe package for solaris 9
-
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Building nrpe package for solaris 9
You do not have the required permissions to view the files attached to this post.
-
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: Building nrpe package for solaris 9
Did you read README.Solaris?
From that site:
Let us know if that doesn't work and we'll update the documentation appropriately.
Code: Select all
Compiling on Solaris
Several changes may be necessary in order to compile NRPE on Solaris.
This information is known to apply to Solaris 10 and may apply to other
verisions of Solaris. This has been tested on Solaris 10 x86.
There are three things that you may need to compile NRPE on Solaris:
1. Add /usr/sfw/bin to your path
$ PATH="$PATH:/usr/sfw/bin"
2. Specify the binary to be used for make-ing
$ MAKE=gmake ./configure
3. Use gmake to build the code
$ gmake all
Thanks to Kevin Pendleton at UtahSysAdmin.com
(http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/)
for the instructions on finding the SSL libraries.
Code: Select all
./configure –with-ssl=/usr/sfw/ –with-ssl-lib=/usr/sfw/lib/
-
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Re: Building nrpe package for solaris 9
We have manually installed nrpe v2.15 on solaris 9 server. But we are facing some issues while building the package. Don't know from where it's trying to copy the check_nrpe. Please help me..
make[2]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build'
make[2]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build'
cd ./src/ && make install
make[3]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
make install-plugin
make[4]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
../../../../install-sh -c -m 775 -o nagios -g nagios -d /home/nagios/final_try/nrpe-2.15/package/solaris/install/opt/nagios/libexec
../../../../install-sh -c -m 775 -o nagios -g nagios check_nrpe /home/nagios/final_try/nrpe-2.15/package/solaris/install/opt/nagios/libexec
install: check_nrpe does not exist
make[4]: *** [install-plugin] Error 1
make[4]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris'
make[1]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris'
make[1]: Circular pkginfo <- pkg dependency dropped.
make[1]: Circular prototype <- pkg dependency dropped.
pkgmk -o -d ./pkg -f ./pkg/prototype -r .
## Building pkgmap from package prototype file.
ERROR in ./pkg/prototype:
no object for <i.manifest> found in local path
no object for <r.manifest> found in local path
no object for <install/etc/nagios/nrpe.cfg> found in root directory
no object for <build/src/nrpe> found in root directory
no object for <build/src/check_nrpe> found in root directory
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.
make[1]: *** [nrpe-2.15--sparc-local] Error 1
make[1]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris'
make[2]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build'
make[2]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build'
cd ./src/ && make install
make[3]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
make install-plugin
make[4]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
../../../../install-sh -c -m 775 -o nagios -g nagios -d /home/nagios/final_try/nrpe-2.15/package/solaris/install/opt/nagios/libexec
../../../../install-sh -c -m 775 -o nagios -g nagios check_nrpe /home/nagios/final_try/nrpe-2.15/package/solaris/install/opt/nagios/libexec
install: check_nrpe does not exist
make[4]: *** [install-plugin] Error 1
make[4]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris/build'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris'
make[1]: Entering directory `/home/nagios/final_try/nrpe-2.15/package/solaris'
make[1]: Circular pkginfo <- pkg dependency dropped.
make[1]: Circular prototype <- pkg dependency dropped.
pkgmk -o -d ./pkg -f ./pkg/prototype -r .
## Building pkgmap from package prototype file.
ERROR in ./pkg/prototype:
no object for <i.manifest> found in local path
no object for <r.manifest> found in local path
no object for <install/etc/nagios/nrpe.cfg> found in root directory
no object for <build/src/nrpe> found in root directory
no object for <build/src/check_nrpe> found in root directory
pkgmk: ERROR: unable to build pkgmap from prototype file
## Packaging was not successful.
make[1]: *** [nrpe-2.15--sparc-local] Error 1
make[1]: Leaving directory `/home/nagios/final_try/nrpe-2.15/package/solaris'
Re: Building nrpe package for solaris 9
The nrpe bin should be built in the "src" folder. Are you sure it built correctly?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Re: Building nrpe package for solaris 9
We have to run the below command under nrpe 2.15 path not from nrpe 2.15/src
make solaris-package
make solaris-package
Re: Building nrpe package for solaris 9
Are you saying that "make solaris-package" solved your problem or are you still experiencing the same issue?
-
- Posts: 55
- Joined: Wed Jun 18, 2014 10:16 am
Re: Building nrpe package for solaris 9
Issue is resolved. Please close this thread.