Re: Building with mysql support
Stipe Tolj <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Organization | tolj.org system architecture |
| Message-ID | <[email protected]> |
Mario Splivalo schrieb:
> 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?
can you have a peak into config.log to see "what" configure gets while trying to
look for mysql.h? This should give you a good hint on what is wrong here.
Pozdrav iz Berlina ;)
Stipe
--
-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany
tolj.org system architecture Kannel Software Foundation (KSF)
http://www.tolj.org/ http://www.kannel.org/
mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------