no libexec after intalling plugins!

Sam Fraser samfraser at yahoo.co.uk
Wed Jan 10 21:57:17 CET 2007


Hello All, could someone please advise me where I've gone wrong installing my plugins?

The problem is with this installation step

Install the compiled plugins and plugin scripts with the following command:

        make install

   The installation procedure will attempt to place the plugins in a 
   'libexec/' subdirectory in the base directory you specified with
   the --prefix argument to the configure script.

The problem is that this folder never turns up in 

ls -l /usr/local/nagios/
total 40
drwxrwxrwx 2 samfraser nagcmd 4096 Dec  7 16:52 bin
drwxrwxr-x 2 samfraser nagcmd 4096 Jan 10 19:32 etc
drwxrwxrwx 2 samfraser nagcmd 4096 Jan 10 18:55 sbin
drwxrwxrwx 8 samfraser nagcmd 4096 Jan 10 18:54 share
drwxrwxrwx 3 samfraser nagcmd 4096 Jan 10 19:51 var

even though I specified /usr/local/nagios in the ./configure statement

this is the output from make install.

make install
Making install in lib
make[1]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make  install-recursive
make[2]: Entering directory `/root/nagios-plugins-1.4.5/lib'
Making install in tests
make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib/tests'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib/tests'
make[3]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make[4]: Entering directory `/root/nagios-plugins-1.4.5/lib'
make[4]: Nothing to be done for `install-exec-am'.
make[4]: Nothing to be done for `install-data-am'.
make[4]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[3]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[2]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
make[1]: Leaving directory `/root/nagios-plugins-1.4.5/lib'
Making install in plugins
make[1]: Entering directory `/root/nagios-plugins-1.4.5/plugins'
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
sr/include -I/usr/include/mysql  -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu
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
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
cho './'`check_mysql.c; \
        then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql
.Tpo"; exit 1; fi
check_mysql.c:51:19: error: mysql.h: No such file or directory
check_mysql.c:52:20: error: errmsg.h: No such file or directory
check_mysql.c:58: error: ΓÇÿMYSQL_PORTΓÇÖ undeclared here (not in a function)
check_mysql.c: In function ΓÇÿmainΓÇÖ:
check_mysql.c:73: error: ΓÇÿMYSQLΓÇÖ undeclared (first use in this function)
check_mysql.c:73: error: (Each undeclared identifier is reported only once
check_mysql.c:73: error: for each function it appears in.)
check_mysql.c:73: error: expected ΓÇÿ;ΓÇÖ before ΓÇÿmysqlΓÇÖ
check_mysql.c:74: error: ΓÇÿMYSQL_RESΓÇÖ undeclared (first use in this function)
check_mysql.c:74: error: ΓÇÿresΓÇÖ undeclared (first use in this function)
check_mysql.c:75: error: ΓÇÿMYSQL_ROWΓÇÖ undeclared (first use in this function)
check_mysql.c:75: error: expected ΓÇÿ;ΓÇÖ before ΓÇÿrowΓÇÖ
check_mysql.c:91: error: ΓÇÿmysqlΓÇÖ undeclared (first use in this function)
check_mysql.c:93: error: ΓÇÿMYSQL_READ_DEFAULT_GROUPΓÇÖ undeclared (first use in this function)
check_mysql.c:97: error: ΓÇÿCR_UNKNOWN_HOSTΓÇÖ undeclared (first use in this function)
check_mysql.c:99: error: ΓÇÿCR_VERSION_ERRORΓÇÖ undeclared (first use in this function)
check_mysql.c:101: error: ΓÇÿCR_OUT_OF_MEMORYΓÇÖ undeclared (first use in this function)
check_mysql.c:103: error: ΓÇÿCR_IPSOCK_ERRORΓÇÖ undeclared (first use in this function)
check_mysql.c:105: error: ΓÇÿCR_SOCKET_CREATE_ERRORΓÇÖ undeclared (first use in this function)
check_mysql.c:112: warning: cast to pointer from integer of different size
check_mysql.c:112: warning: cast to pointer from integer of different size
check_mysql.c:112: warning: cast to pointer from integer of different size
check_mysql.c:112: warning: passing argument 1 of ΓÇÿstrlenΓÇÖ makes pointer from integer without a cast
check_mysql.c:112: warning: passing argument 2 of ΓÇÿ__builtin___memcpy_chkΓÇÖ makes pointer from integer without a cast
check_mysql.c:112: warning: passing argument 2 of ΓÇÿ__memcpy_ichkΓÇÖ makes pointer from integer without a cast
check_mysql.c:112: warning: passing argument 1 of ΓÇÿ__strdupΓÇÖ makes pointer from integer without a cast
check_mysql.c:116: error: ΓÇÿCR_SERVER_GONE_ERRORΓÇÖ undeclared (first use in this function)
check_mysql.c:118: error: ΓÇÿCR_SERVER_LOSTΓÇÖ undeclared (first use in this function)
check_mysql.c:120: error: ΓÇÿCR_UNKNOWN_ERRORΓÇÖ undeclared (first use in this function)
check_mysql.c:127: warning: cast to pointer from integer of different size
check_mysql.c:127: warning: cast to pointer from integer of different size
check_mysql.c:127: warning: cast to pointer from integer of different size
check_mysql.c:127: warning: passing argument 1 of ΓÇÿstrlenΓÇÖ makes pointer from integer without a cast
check_mysql.c:127: warning: passing argument 2 of ΓÇÿ__builtin___memcpy_chkΓÇÖ makes pointer from integer without a cast
check_mysql.c:127: warning: passing argument 2 of ΓÇÿ__memcpy_ichkΓÇÖ makes pointer from integer without a cast
check_mysql.c:127: warning: passing argument 1 of ΓÇÿ__strdupΓÇÖ makes pointer from integer without a cast
check_mysql.c:134: warning: cast to pointer from integer of different size
check_mysql.c:134: warning: cast to pointer from integer of different size
check_mysql.c:134: warning: cast to pointer from integer of different size
check_mysql.c:134: warning: passing argument 1 of ΓÇÿstrlenΓÇÖ makes pointer from integer without a cast
check_mysql.c:134: warning: passing argument 2 of ΓÇÿ__builtin___memcpy_chkΓÇÖ makes pointer from integer without a cast
check_mysql.c:134: warning: passing argument 2 of ΓÇÿ__memcpy_ichkΓÇÖ makes pointer from integer without a cast
check_mysql.c:134: warning: passing argument 1 of ΓÇÿ__strdupΓÇÖ makes pointer from integer without a cast
check_mysql.c:146: error: ΓÇÿrowΓÇÖ undeclared (first use in this function)
check_mysql.c:147: warning: cast to pointer from integer of different size
check_mysql.c:147: warning: cast to pointer from integer of different size
check_mysql.c:147: warning: cast to pointer from integer of different size
check_mysql.c:147: warning: passing argument 1 of ΓÇÿstrlenΓÇÖ makes pointer from integer without a cast
check_mysql.c:147: warning: passing argument 2 of ΓÇÿ__builtin___memcpy_chkΓÇÖ makes pointer from integer without a cast
check_mysql.c:147: warning: passing argument 2 of ΓÇÿ__memcpy_ichkΓÇÖ makes pointer from integer without a cast
check_mysql.c:147: warning: passing argument 1 of ΓÇÿ__strdupΓÇÖ makes pointer from integer without a cast
check_mysql.c:165: error: ΓÇÿMYSQL_FIELDΓÇÖ undeclared (first use in this function)
check_mysql.c:165: error: ΓÇÿfieldsΓÇÖ undeclared (first use in this function)
make[1]: *** [check_mysql-check_mysql.o] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.5/plugins'
make: *** [install-recursive] Error 1
 
Sam Fraser




		
___________________________________________________________ 
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070110/423f139b/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list