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

Ton Voon ton.voon at altinity.com
Wed Apr 11 10:02:35 CEST 2007


Aaron,

On 11 Apr 2007, at 01:05, Aaron Devey wrote:

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

Can you please try the snapshot at http://nagiosplug.sf.net/snapshot.  
I discovered 1.4.7 was too aggressive in its testing of mysql just  
after the release. We will be releasing 1.4.8 sometime today.

Ton

http://www.altinity.com
T: +44 (0)870 787 9243
F: +44 (0)845 280 1725
Skype: tonvoon






More information about the Devel mailing list