<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt">Hello All, could someone please advise me where I've gone wrong installing my plugins?<br><br>The problem is with this installation step<br><br>Install the compiled plugins and plugin scripts with the following command:<br><br>        make install<br><br>   The installation procedure will attempt to place the plugins in a <br>   '<span style="font-weight: bold;">libexec/'</span> subdirectory in the base directory you specified with<br>   the --prefix argument to the configure script.<br><br>The problem is that this folder never turns up in <br><br>ls -l /usr/local/nagios/<br>total 40<br>drwxrwxrwx 2 samfraser nagcmd 4096 Dec  7 16:52 bin<br>drwxrwxr-x 2 samfraser nagcmd 4096 Jan 10 19:32 etc<br>drwxrwxrwx 2 samfraser nagcmd 4096 Jan 10 18:55
 sbin<br>drwxrwxrwx 8 samfraser nagcmd 4096 Jan 10 18:54 share<br>drwxrwxrwx 3 samfraser nagcmd 4096 Jan 10 19:51 var<br><br>even though I specified /usr/local/nagios in the ./configure statement<br><br>this is the output from make install.<br><br>make install<br>Making install in lib<br>make[1]: Entering directory `/root/nagios-plugins-1.4.5/lib'<br>make  install-recursive<br>make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib'<br>Making install in tests<br>make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'<br>make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'<br>make[4]: Nothing to be done for `install-exec-am'.<br>make[4]: Nothing to be done for `install-data-am'.<br>make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'<br>make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'<br>make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib'<br>make[4]: Entering directory
 `/root/nagios-plugins-1.4.5/lib'<br>make[4]: Nothing to be done for `install-exec-am'.<br>make[4]: Nothing to be done for `install-data-am'.<br>make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib'<br>make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib'<br>make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib'<br>make[1]: Leaving directory `/root/nagios-plugins-1.4.5/lib'<br>Making install in plugins<br>make[1]: Entering directory `/root/nagios-plugins-1.4.5/plugins'<br>if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap  -I/u<br>sr/include -I/usr/include/mysql  -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu<br>ffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -g -O2 -MT che<br>ck_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o
 check_mysql-check_mysql.o `test -f 'check_mysql.c' || e<br>cho './'`check_mysql.c; \<br>        then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql<br>.Tpo"; exit 1; fi<br>check_mysql.c:51:19: error: mysql.h: No such file or directory<br>check_mysql.c:52:20: error: errmsg.h: No such file or directory<br>check_mysql.c:58: error: ¦£ª®«óMYSQL_PORT¦£ª®ªÓ undeclared here (not in a function)<br>check_mysql.c: In function ¦£ª®«ómain¦£ª®ªÓ:<br>check_mysql.c:73: error: ¦£ª®«óMYSQL¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:73: error: (Each undeclared identifier is reported only once<br>check_mysql.c:73: error: for each function it appears in.)<br>check_mysql.c:73: error: expected ¦£ª®«ó;¦£ª®ªÓ before ¦£ª®«ómysql¦£ª®ªÓ<br>check_mysql.c:74: error: ¦£ª®«óMYSQL_RES¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:74: error: ¦£ª®«óres¦£ª®ªÓ
 undeclared (first use in this function)<br>check_mysql.c:75: error: ¦£ª®«óMYSQL_ROW¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:75: error: expected ¦£ª®«ó;¦£ª®ªÓ before ¦£ª®«órow¦£ª®ªÓ<br>check_mysql.c:91: error: ¦£ª®«ómysql¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:93: error: ¦£ª®«óMYSQL_READ_DEFAULT_GROUP¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:97: error: ¦£ª®«óCR_UNKNOWN_HOST¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:99: error: ¦£ª®«óCR_VERSION_ERROR¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:101: error: ¦£ª®«óCR_OUT_OF_MEMORY¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:103: error: ¦£ª®«óCR_IPSOCK_ERROR¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:105: error: ¦£ª®«óCR_SOCKET_CREATE_ERROR¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:112: warning: cast to pointer from integer of different size<br>check_mysql.c:112:
 warning: cast to pointer from integer of different size<br>check_mysql.c:112: warning: cast to pointer from integer of different size<br>check_mysql.c:112: warning: passing argument 1 of ¦£ª®«óstrlen¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:112: warning: passing argument 2 of ¦£ª®«ó__builtin___memcpy_chk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:112: warning: passing argument 2 of ¦£ª®«ó__memcpy_ichk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:112: warning: passing argument 1 of ¦£ª®«ó__strdup¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:116: error: ¦£ª®«óCR_SERVER_GONE_ERROR¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:118: error: ¦£ª®«óCR_SERVER_LOST¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:120: error: ¦£ª®«óCR_UNKNOWN_ERROR¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:127: warning: cast to pointer from integer of different
 size<br>check_mysql.c:127: warning: cast to pointer from integer of different size<br>check_mysql.c:127: warning: cast to pointer from integer of different size<br>check_mysql.c:127: warning: passing argument 1 of ¦£ª®«óstrlen¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:127: warning: passing argument 2 of ¦£ª®«ó__builtin___memcpy_chk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:127: warning: passing argument 2 of ¦£ª®«ó__memcpy_ichk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:127: warning: passing argument 1 of ¦£ª®«ó__strdup¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:134: warning: cast to pointer from integer of different size<br>check_mysql.c:134: warning: cast to pointer from integer of different size<br>check_mysql.c:134: warning: cast to pointer from integer of different size<br>check_mysql.c:134: warning: passing argument 1 of ¦£ª®«óstrlen¦£ª®ªÓ makes pointer from integer without a
 cast<br>check_mysql.c:134: warning: passing argument 2 of ¦£ª®«ó__builtin___memcpy_chk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:134: warning: passing argument 2 of ¦£ª®«ó__memcpy_ichk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:134: warning: passing argument 1 of ¦£ª®«ó__strdup¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:146: error: ¦£ª®«órow¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:147: warning: cast to pointer from integer of different size<br>check_mysql.c:147: warning: cast to pointer from integer of different size<br>check_mysql.c:147: warning: cast to pointer from integer of different size<br>check_mysql.c:147: warning: passing argument 1 of ¦£ª®«óstrlen¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:147: warning: passing argument 2 of ¦£ª®«ó__builtin___memcpy_chk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:147: warning: passing argument 2 of
 ¦£ª®«ó__memcpy_ichk¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:147: warning: passing argument 1 of ¦£ª®«ó__strdup¦£ª®ªÓ makes pointer from integer without a cast<br>check_mysql.c:165: error: ¦£ª®«óMYSQL_FIELD¦£ª®ªÓ undeclared (first use in this function)<br>check_mysql.c:165: error: ¦£ª®«ófields¦£ª®ªÓ undeclared (first use in this function)<br>make[1]: *** [check_mysql-check_mysql.o] Error 1<br>make[1]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'<br>make: *** [install-recursive] Error 1<br><div> </div>Sam Fraser<br><br></div><br>
                <hr size=1> 
<a href="http://us.rd.yahoo.com/mail/uk/taglines/default/nowyoucan/spam_1gb/*http://us.rd.yahoo.com/evt=40565/*http://uk.docs.yahoo.com/nowyoucan.html">Inbox full of unwanted email?</a> Get leading protection and 1GB storage with All New Yahoo! Mail.</body></html>