Having trouble installing nagios-plugin-1.4.6 -fedora 6

Lane, Jim Jim.Lane at CIBC.com
Mon Feb 19 20:30:36 CET 2007


The parameter --with-mysql is supposed to point to the root directory of your MySQL installation. I doubt that /usr/bin is a valid value for this. On my systems it installs to /usr/local/mysql. I suggest you check with whoever installed MySQL to get the proper value for your shop. You should expect to see something like the following:

# ls -l /usr/local/mysql
total 16
drwxr-xr-x  2 root  root  1536 Jan 17 14:46 bin
drwxr-xr-x  3 root  root   512 Jan 17 14:45 include
drwxr-xr-x  2 root  root   512 Jan 17 14:45 info
drwxr-xr-x  3 root  root   512 Jan 17 14:45 lib
drwxr-xr-x  2 root  root   512 Jan 17 14:46 libexec
drwxr-xr-x  4 root  root   512 Jan 17 14:46 man
-rw-r--r--  1 mysql mysql 4912 Jan 18 07:44 my.cnf
drwxr-xr-x  7 root  root   512 Jan 17 14:46 mysql-test
drwxr-xr-x  3 root  root   512 Jan 17 14:46 share
drwxr-xr-x  5 root  root  1024 Jan 17 14:46 sql-bench
drwxr-xr-x 25 mysql mysql 1024 Feb 19 13:35 var

in the MySQL root. 

HTH

Jim Lane 

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of abid dar
Sent: February 19, 2007 1:38 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Having trouble installing nagios-plugin-1.4.6 -fedora 6

Fedora Core release 6 (Zod)
Linux  2.6.18-1.2798.fc6xen #1 



Trying to install nagios-plugin-1.4.6

error message im getting:

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[2]: *** [check_mysql-check_mysql.o] Error 1
make[2]: Leaving directory `/root/nagios-plugins-1.4.6/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/nagios-plugins-1.4.6'
make: *** [all] Error 2

tried:
./configure --prefix=/usr/local/nagios/ --with-mysql=/usr/bin

same error.

suggestions:





 
____________________________________________________________________________________
Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com

-------------------------------------------------------------------------
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
_______________________________________________
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

-------------------------------------------------------------------------
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
_______________________________________________
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