[Nagiosplug-devel] nagios-plugins-1.4.7 mysql configure problem.

Aaron Devey adevey at omniture.com
Wed Apr 11 02:05:07 CEST 2007


I have been trying to get the configure script provided with
nagios-plugins-1.4.7 to pick up my mysql installation, to no avail. 
nagios-plugins-1.4.6 has no problems picking it up.  See output below:

This command works with nagios-plugins-1.4.6:
[nagios at nagios nagios-plugins-1.4.6]$ ./configure --prefix=/home/nagios
--with-mysql=/usr/local/mysql 2>&1 | grep mysql
                      --with-mysql: /usr/local/mysql/bin/mysql_config


The same command does not work with nagios-plugins-1.4.7:
[nagios at nagios nagios-plugins-1.4.7]$ ./configure --prefix=/home/nagios
--with-mysql=/usr/local/mysql 2>&1 | grep mysql
checking for mysql_init in -lmysqlclient... no
                      --with-mysql: not found


/usr/local/mysql/bin/mysql_config exists, and the current user has
permission to read and execute it, as seen from the command below:
[nagios at nagios nagios-plugins-1.4.7]$ /usr/local/mysql/bin/mysql_config
Usage: /usr/local/mysql/bin/mysql_config [OPTIONS]
Options:
        --cflags        [-I'/usr/local/mysql/include/mysql']
        --libs          [-L'/usr/local/mysql/lib' -lmysqlclient -lz
-lcrypt -lnsl -lm -Wl,--start-group -lc -lnss_files -lnss_dns -lresolv
-Wl,--end-group]
        --socket        [/tmp/mysql.sock]
        --port          [3306]
        --version       [3.23.51]


Any suggestions?  Thanks in advance,

-Aaron Devey
adevey at omniture.com

(p.s. my apologies if I sent this to the wrong list.  It seemed to be a
development related issue.)





More information about the Devel mailing list