Building check_mysql fails on Solaris
If you are using GCC and your MySQL version was compiled using Sun's C
compiler (or the other way round), then it is likely that the configure
options will fail, as the configure script will run mysql_config to get the
appropriate CFLAGS.
There are various options:
- Disable
check_mysqlby running./configure--without-mysql. - Allow
./configureto finish, but manually amendplugins/Makefileand remove any non-GCC flags inMYSQLCFLAGS. - Use Sun's C compiler to compile the plugins.
- Use a GCC-compiled version of MySQL.
