Building with mysql support
Mario Splivalo <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to build kannel with mysql support. I have mysql installed in my home directory. Now, I configure it like this: ./configure --prefix=/home/mario/Test/gateway-1.4.3/ --with-mysql --with-mysql-dir=/home/mario/Test/mysql-5.1.32 This is the part of configure output concerning mysql: checking whether to compile with MySQL support... searching checking for mysql_config... /home/mario/Test/mysql-5.1.32/bin/mysql_config checking mysql version... 5.1.32 checking mysql reentrant libs... -rdynamic -L/home/mario/Test/mysql-5.1.32/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread checking for mysql_init in -lmysqlclient_r... yes checking mysql includes... -I/home/mario/Test/mysql-5.1.32/include/mysql 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 Now, of course, make won't finish compilation because of 'missing' mysql.h. Here is what mysql_config returns: $ /home/mario/Test/mysql-5.1.32/bin/mysql_config --include -I/home/mario/Test/mysql-5.1.32/include/mysql $ /home/mario/Test/mysql-5.1.32/bin/mysql_config --libs -rdynamic -L/home/mario/Test/mysql-5.1.32/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm What am I doing wrong? Mike