Re: Building with mysql support
Mario Splivalo <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Well, I did. I builded mysql from source, so I should have everything I need? mike Alvaro Cornejo wrote: > You need to install devel libraries in addition to mysl server itself > > Regards > > Alvaro > |-----------------------------------------------------------------------------------------------------------------| > Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier > celular y Nextel > en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via > SMS y GPRS online > Visitenos en www.perusms.NET www.smsglobal.com.mx y > www.pravcom.com > > > > On Mon, Mar 22, 2010 at 10:49 AM, Mario Splivalo > <[email protected]> wrote: >> 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 >> >>