Problem compiling 1.4.6 plugins

Hi! I am having the following issues when running make install in the compiled plugins directory.

test -z “/usr/local/nagios/libexec” || mkdir -p – “/usr/local/nagios/libexec”

/usr/bin/install -c ‘check_breeze’ ‘/usr/local/nagios/libexec/check_breeze’

/usr/bin/install -c ‘check_disk_smb’ ‘/usr/local/nagios/libexec/check_disk_smb’

/usr/bin/install -c ‘check_flexlm’ ‘/usr/local/nagios/libexec/check_flexlm’

/usr/bin/install -c ‘check_ircd’ ‘/usr/local/nagios/libexec/check_ircd’

/usr/bin/install -c ‘check_log’ ‘/usr/local/nagios/libexec/check_log’

/usr/bin/install -c ‘check_oracle’ ‘/usr/local/nagios/libexec/check_oracle’

/usr/bin/install -c ‘check_rpc’ ‘/usr/local/nagios/libexec/check_rpc’

/usr/bin/install -c ‘check_sensors’ ‘/usr/local/nagios/libexec/check_sensors’

/usr/bin/install -c ‘check_wave’ ‘/usr/local/nagios/libexec/check_wave’

/usr/bin/install -c ‘check_ifstatus’ ‘/usr/local/nagios/libexec/check_ifstatus’

/usr/bin/install -c ‘check_ifoperstatus’ ‘/usr/local/nagios/libexec/check_ifoperstatus’

/usr/bin/install -c ‘check_mailq’ ‘/usr/local/nagios/libexec/check_mailq’

/usr/bin/install -c ‘check_file_age’ ‘/usr/local/nagios/libexec/check_file_age’

/usr/bin/install -c ‘utils.sh’ ‘/usr/local/nagios/libexec/utils.sh’

/usr/bin/install -c ‘utils.pm’ ‘/usr/local/nagios/libexec/utils.pm’

make[2]: Nothing to be done for `install-data-am’.

make[2]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6/plugins-scripts’

make[1]: Leaving directory `/usr/local/src/nagios-plugins-1.4.6/plugins-scripts’

Making install in plugins-root

make[1]: Entering directory `/usr/local/src/nagios-plugins-1.4.6/plugins-root’

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 someone point me in the correct direction?

Thanks.

You’re gonna need mysql-devel-“version-ur’e-using”.rpm.

4 me it was: mysql-devel-5.0.22-2.1

I am getting the same problem and I installed mysql-devel-5.0.26-12. It didn’t make a difference.

Any other ideas on what could be causing the problem.
I am running Opensuse 10.2, all current patches.

server#:/home/nagios/nagios-plugins-1.4.6 # make install
Making install in gl
make[1]: Entering directory /home/nagios/nagios-plugins-1.4.6/gl' make install-am make[2]: Entering directory/home/nagios/nagios-plugins-1.4.6/gl’
make[3]: Entering directory /home/nagios/nagios-plugins-1.4.6/gl' make[3]: Nothing to be done forinstall-exec-am’.
make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory/home/nagios/nagios-plugins-1.4.6/gl’
make[2]: Leaving directory /home/nagios/nagios-plugins-1.4.6/gl' make[1]: Leaving directory/home/nagios/nagios-plugins-1.4.6/gl’
Making install in lib
make[1]: Entering directory /home/nagios/nagios-plugins-1.4.6/lib' Making install in tests make[2]: Entering directory/home/nagios/nagios-plugins-1.4.6/lib/tests’
make[3]: Entering directory /home/nagios/nagios-plugins-1.4.6/lib/tests' make[3]: Nothing to be done forinstall-exec-am’.
make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory/home/nagios/nagios-plugins-1.4.6/lib/tests’
make[2]: Leaving directory /home/nagios/nagios-plugins-1.4.6/lib/tests' make[2]: Entering directory/home/nagios/nagios-plugins-1.4.6/lib’
make[3]: Entering directory /home/nagios/nagios-plugins-1.4.6/lib' make[3]: Nothing to be done forinstall-exec-am’.
make[3]: Nothing to be done for install-data-am'. make[3]: Leaving directory/home/nagios/nagios-plugins-1.4.6/lib’
make[2]: Leaving directory /home/nagios/nagios-plugins-1.4.6/lib' make[1]: Leaving directory/home/nagios/nagios-plugins-1.4.6/lib’
Making install in plugins
make[1]: Entering directory /home/nagios/nagios-plugins-1.4.6/plugins' make[2]: Entering directory/home/nagios/nagios-plugins-1.4.6/plugins’
test -z “/usr/local/nagios/libexec” || mkdir -p – “/usr/local/nagios/libexec”
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_apt’ ‘/usr/local/nagios/libexec/check_apt’
/usr/bin/install -c check_apt /usr/local/nagios/libexec/check_apt
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_disk’ ‘/usr/local/nagios/libexec/check_disk’
/usr/bin/install -c check_disk /usr/local/nagios/libexec/check_disk
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_dummy’ ‘/usr/local/nagios/libexec/check_dummy’
/usr/bin/install -c check_dummy /usr/local/nagios/libexec/check_dummy
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_http’ ‘/usr/local/nagios/libexec/check_http’
/usr/bin/install -c check_http /usr/local/nagios/libexec/check_http
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_load’ ‘/usr/local/nagios/libexec/check_load’
/usr/bin/install -c check_load /usr/local/nagios/libexec/check_load
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_mrtg’ ‘/usr/local/nagios/libexec/check_mrtg’
/usr/bin/install -c check_mrtg /usr/local/nagios/libexec/check_mrtg
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_mrtgtraf’ ‘/usr/local/nagios/libexec/check_mrtgtraf’
/usr/bin/install -c check_mrtgtraf /usr/local/nagios/libexec/check_mrtgtraf
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_ntp’ ‘/usr/local/nagios/libexec/check_ntp’
/usr/bin/install -c check_ntp /usr/local/nagios/libexec/check_ntp
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_nwstat’ ‘/usr/local/nagios/libexec/check_nwstat’
/usr/bin/install -c check_nwstat /usr/local/nagios/libexec/check_nwstat
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_overcr’ ‘/usr/local/nagios/libexec/check_overcr’
/usr/bin/install -c check_overcr /usr/local/nagios/libexec/check_overcr
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_ping’ ‘/usr/local/nagios/libexec/check_ping’
/usr/bin/install -c check_ping /usr/local/nagios/libexec/check_ping
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_real’ ‘/usr/local/nagios/libexec/check_real’
/usr/bin/install -c check_real /usr/local/nagios/libexec/check_real
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_smtp’ ‘/usr/local/nagios/libexec/check_smtp’
/usr/bin/install -c check_smtp /usr/local/nagios/libexec/check_smtp
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_ssh’ ‘/usr/local/nagios/libexec/check_ssh’
/usr/bin/install -c check_ssh /usr/local/nagios/libexec/check_ssh
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_tcp’ ‘/usr/local/nagios/libexec/check_tcp’
/usr/bin/install -c check_tcp /usr/local/nagios/libexec/check_tcp
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_time’ ‘/usr/local/nagios/libexec/check_time’
/usr/bin/install -c check_time /usr/local/nagios/libexec/check_time
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_ups’ ‘/usr/local/nagios/libexec/check_ups’
/usr/bin/install -c check_ups /usr/local/nagios/libexec/check_ups
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_users’ ‘/usr/local/nagios/libexec/check_users’
/usr/bin/install -c check_users /usr/local/nagios/libexec/check_users
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘negate’ ‘/usr/local/nagios/libexec/negate’
/usr/bin/install -c negate /usr/local/nagios/libexec/negate
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘urlize’ ‘/usr/local/nagios/libexec/urlize’
/usr/bin/install -c urlize /usr/local/nagios/libexec/urlize
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_ldap’ ‘/usr/local/nagios/libexec/check_ldap’
/usr/bin/install -c check_ldap /usr/local/nagios/libexec/check_ldap
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_procs’ ‘/usr/local/nagios/libexec/check_procs’
/usr/bin/install -c check_procs /usr/local/nagios/libexec/check_procs
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_nagios’ ‘/usr/local/nagios/libexec/check_nagios’
/usr/bin/install -c check_nagios /usr/local/nagios/libexec/check_nagios
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_dns’ ‘/usr/local/nagios/libexec/check_dns’
/usr/bin/install -c check_dns /usr/local/nagios/libexec/check_dns
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_hpjd’ ‘/usr/local/nagios/libexec/check_hpjd’
/usr/bin/install -c check_hpjd /usr/local/nagios/libexec/check_hpjd
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_snmp’ ‘/usr/local/nagios/libexec/check_snmp’
/usr/bin/install -c check_snmp /usr/local/nagios/libexec/check_snmp
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_by_ssh’ ‘/usr/local/nagios/libexec/check_by_ssh’
/usr/bin/install -c check_by_ssh /usr/local/nagios/libexec/check_by_ssh
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_swap’ ‘/usr/local/nagios/libexec/check_swap’
/usr/bin/install -c check_swap /usr/local/nagios/libexec/check_swap
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_dig’ ‘/usr/local/nagios/libexec/check_dig’
/usr/bin/install -c check_dig /usr/local/nagios/libexec/check_dig
/bin/sh …/libtool --mode=install /usr/bin/install -c ‘check_nt’ ‘/usr/local/nagios/libexec/check_nt’
/usr/bin/install -c check_nt /usr/local/nagios/libexec/check_nt
make install-exec-hook
make[3]: Entering directory /home/nagios/nagios-plugins-1.4.6/plugins' cd /usr/local/nagios/libexec && \ for i in check_ftp check_imap check_nntp check_pop check_udp check_clamd check_simap check_spop check_jabber check_nntps check_ssmtp ; do rm -f $i; ln -s check_tcp $i ; done ;\ if -x check_ldap ] ; then rm -f check_ldaps ; ln -s check_ldap check_ldaps ; fi make[3]: Leaving directory/home/nagios/nagios-plugins-1.4.6/plugins’
make[2]: Nothing to be done for install-data-am'. make[2]: Leaving directory/home/nagios/nagios-plugins-1.4.6/plugins’
make[1]: Leaving directory /home/nagios/nagios-plugins-1.4.6/plugins' Making install in plugins-scripts make[1]: Entering directory/home/nagios/nagios-plugins-1.4.6/plugins-scripts’
make[2]: Entering directory /home/nagios/nagios-plugins-1.4.6/plugins-scripts' test -z "/usr/local/nagios/libexec" || mkdir -p -- "/usr/local/nagios/libexec" /usr/bin/install -c 'check_breeze' '/usr/local/nagios/libexec/check_breeze' /usr/bin/install -c 'check_disk_smb' '/usr/local/nagios/libexec/check_disk_smb' /usr/bin/install -c 'check_flexlm' '/usr/local/nagios/libexec/check_flexlm' /usr/bin/install -c 'check_ircd' '/usr/local/nagios/libexec/check_ircd' /usr/bin/install -c 'check_log' '/usr/local/nagios/libexec/check_log' /usr/bin/install -c 'check_oracle' '/usr/local/nagios/libexec/check_oracle' /usr/bin/install -c 'check_rpc' '/usr/local/nagios/libexec/check_rpc' /usr/bin/install -c 'check_sensors' '/usr/local/nagios/libexec/check_sensors' /usr/bin/install -c 'check_wave' '/usr/local/nagios/libexec/check_wave' /usr/bin/install -c 'check_ifstatus' '/usr/local/nagios/libexec/check_ifstatus' /usr/bin/install -c 'check_ifoperstatus' '/usr/local/nagios/libexec/check_ifoperstatus' /usr/bin/install -c 'check_mailq' '/usr/local/nagios/libexec/check_mailq' /usr/bin/install -c 'check_file_age' '/usr/local/nagios/libexec/check_file_age' /usr/bin/install -c 'utils.sh' '/usr/local/nagios/libexec/utils.sh' /usr/bin/install -c 'utils.pm' '/usr/local/nagios/libexec/utils.pm' make[2]: Nothing to be done forinstall-data-am’.
make[2]: Leaving directory /home/nagios/nagios-plugins-1.4.6/plugins-scripts' make[1]: Leaving directory/home/nagios/nagios-plugins-1.4.6/plugins-scripts’
Making install in plugins-root
make[1]: Entering directory /home/nagios/nagios-plugins-1.4.6/plugins-root' make[2]: Entering directory/home/nagios/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/home/nagios/nagios-plugins-1.4.6/plugins-root’
make[1]: Leaving directory /home/nagios/nagios-plugins-1.4.6/plugins-root' Making install in po make[1]: Entering directory/home/nagios/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 `/home/nagios/nagios-plugins-1.4.6/po’
make: *** [install-recursive] Error 1
server#:/home/nagios/nagios-plugins-1.4.6 #

I stand corrected. The mysqldev rpm install resolved my configure errors for the plugins (previous howto step). I’ve not found the solution to these errors; decided to continue with the install. Nagios is running but my unfamiliarity with the product obviously doesn’t clue me into what maybe broken by not fixing these errors. Oh well, sorry to throw you off a bit.

I was able to get it to compile by running this instead. I saw this in another posting.

make MKINSTALLDIRS=…/mkinstalldirs install

It seemed to compile as far as I could see. No errors.

very nice EP!!!