source code checkinstall failure
Posted: Wed Aug 15, 2012 4:52 am
Good day.
I'm trying to install Nagios 3.4.1 from source in a Debian Linux with checkinstall, but it comes with failure.
Here's a 'configure' summary:
'make all' comes with two minor warning, nothing serious:
But when I finally issue sudo checkinstall make install it comes with this:
Did anyone had the same issue? Is there a way to fix this?
My system:
I'm trying to install Nagios 3.4.1 from source in a Debian Linux with checkinstall, but it comes with failure.
Here's a 'configure' summary:
Code: Select all
*** Configuration summary for nagios 3.4.1 05-11-2012 ***:
General Options:
-------------------------
Nagios executable: nagios
Nagios user/group: nagios,nagios
Command user/group: nagios,nagios
Embedded Perl: yes, with caching
Event Broker: yes
Install ${prefix}: /usr/local/nagios
Lock file: ${prefix}/var/nagios.lock
Check result directory: ${prefix}/var/spool/checkresults
Init directory: /etc/init.d
Apache conf.d directory: /etc/apache2/conf.d
Mail program: /usr/bin/mail
Host OS: linux-gnu
Web Interface Options:
------------------------
HTML URL: http://localhost/nagios/
CGI URL: http://localhost/nagios/cgi-bin/
Traceroute (used by WAP): /usr/bin/traceroute'make all' comes with two minor warning, nothing serious:
Code: Select all
utils.c: In function ‘file_uses_embedded_perl’:
utils.c:3115: warning: unused variable ‘use_epn’
Code: Select all
cgiutils.c: In function ‘include_ssi_files’:
cgiutils.c:1500: warning: unused variable ‘x’Code: Select all
Installing with make install...
========================= Installation results ===========================
cd ./base && make install
make[1]: Entering directory `/home/user/nagios/base'
make install-basic
make[2]: Entering directory `/home/user/nagios/base'
/usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin
/usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin
make[2]: Leaving directory `/home/user/nagios/base'
make strip-post-install
make[2]: Entering directory `/home/user/nagios/base'
/usr/bin/strip /usr/local/nagios/bin/nagios
/usr/bin/strip:/usr/local/nagios/bin/nagios: could not create temporary file to hold stripped copy: No error
make[2]: *** [strip-post-install] Error 1
make[2]: Leaving directory `/home/user/nagios/base'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/user/nagios/base'
make: *** [install] Error 2
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.My system:
Code: Select all
Linux server 2.6.32-5-amd64 #1 SMP Sun May 6 04:00:17 UTC 2012 x86_64 GNU/Linux