[Nagiosplug-help] Error compiling Nagios-plugins-1.4.6 for CentOS 4.4

Lars Stavholm stava at telcotec.se
Thu Feb 8 22:43:08 CET 2007


Vincent K.Britton wrote:
> Greetings,
> 
> I am installing Nagios for the first time following the instructions in
> my book, "NAGIOS System and Network Monitoring" by Wolfgang Barth.
> However it really isn't very helpful in the installation.
> 
> I have run in to several errors and have been able to figure out the
> problems but I am afraid I currently stuck with the installation of the
> nagio-plugins.  I downloaded the tar for 1.4.6, configure and make ran
> fine.  However upon make install it concludes with the following error:
> 
> make[2]: Entering directory
> `/usr/local/src/nagios-plugins-1.4.6/plugins-root'
>  /usr/bin/install -c check_dhcp /usr/local/nagios/libexec/check_dhcp
>  chown root /usr/local/nagios/libexec/check_dhcp
>  chmod 4550 /usr/local/nagios/libexec/check_dhcp
>  /usr/bin/install -c check_icmp /usr/local/nagios/libexec/check_icmp
>  chown root /usr/local/nagios/libexec/check_icmp
>  chmod 4550 /usr/local/nagios/libexec/check_icmp
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/usr/local/src/nagios-plugins-1.4.6/plugins-root'
> make[1]: Leaving directory
> `/usr/local/src/nagios-plugins-1.4.6/plugins-root'
> Making install in po
> make[1]: Entering directory `/usr/local/src/nagios-plugins-1.4.6/po'
> /bin/sh @MKINSTALLDIRS@ /usr/local/nagios/share
> /bin/sh: @MKINSTALLDIRS@: No such file or directory
> make[1]: *** [install-data-yes] Error 127
> make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6/po'
> make: *** [install-recursive] Error 1
> 
> Can anyone please point me in the right direction as to how to proceed?

Yes, well, that's a thing (bug?) that was introduced in 1.4.6,
I got around it with the following simple statement:

% make MKINSTALLDIRS=../mkinstalldirs install

Hope that works for you as well.
/Lars




More information about the Help mailing list