I'm using kannel 1.4.1 on mac os x 10.4.10.
Building kannel with mysql support doesn't work. Configuring will
fall unless you specify
--with-mysql-dir=/usr/local/mysql
I guess because mysql is in a weird place on the mac?
Since it configured I would expect it to then compile, but it won't.
It gets errors like this:
error: `MYSQL_RES' undeclared (first use in this function)
Then I noticed that, despite configure completing successfully, it
complains about "mysql/mysql.h usability":
Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... /usr/local/mysql/bin/mysql_config
checking mysql version... 4.0.26
checking mysql reentrant libs... -L/usr/local/mysql/lib -
lmysqlclient_r -lz -lm
checking for mysql_init in -lmysqlclient_r... yes
checking mysql includes... -I/usr/local/mysql/include
*checking mysql/mysql.h usability... no*
*checking mysql/mysql.h presence... no*
*checking for mysql/mysql.h... no*
checking mysql/mysql_version.h usability... no
checking mysql/mysql_version.h presence... no
checking for mysql/mysql_version.h... no
checking whether to compile with MySQL support... yes
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite support... disabled
checking whether to compile with SQLite3 support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
So mysql is present, but not accessible in the standard way? What a
strange way for apple to have deployed it. Has anyone gotten this to
work?
thanks,
aaron