[Nagiosplug-devel] check_mysql not compiling.
Thomas Guyot-Sionnest
dermoth at aei.ca
Wed Jun 10 14:15:16 CEST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/06/09 07:09 AM, Tiberiu Padurean wrote:
> Hello,
>
>
>
> I have a Suse10 Enterprise server and I need to verify mysql on it with
> the ?check_mysql? nagios plugin.
>
> Unfortunately when I compile the plugins, the check_mysql is not created.
>
> I have tried :
>
>
>
> ./configure --with-mysql=/usr/bin/ --prefix=/home/user/plugins/
>
>
>
> Or
>
>
>
> ./configure --with-mysql=/usr/bin/mysql_config --prefix=/home/user/plugins/
If mysql is installed in a standard location you shouldn't have to
specify a mysql path...
Do you have the mysql development files installed (probably a package
named mysql-devel)?
Do you have Mysql headers files installed in /usr/include/mysql/ ?
If you answered yes to the above two questions, can you:
1. Send the output of the following three commands:
$ mysql_config --cflags
$ mysql_config --include
$ mysql_config --libs
2. Send your config.log file or the relevant part of it?
Thanks.
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFKL6PU6dZ+Kt5BchYRAgjdAKCIfJA10haPYqyEPc4SjtLmSzzUEgCfYFCf
VCD+Rc+mkYekARInwlmTO24=
=pEdK
-----END PGP SIGNATURE-----
More information about the Devel
mailing list