RE: Building with mysql support

"Cezary Siwek" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
You need libmysql rather than mysql server. Check your linux distribution
repository. I'm sure you'll find the relevant development package. 
Under Debian it is libmysql5-dev
You may want to check also this page:
http://dev.mysql.com/downloads/connector/c/




BR
Cezary

 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Mario Splivalo
Sent: 22 March 2010 15:43
To: Alvaro Cornejo
Cc: [email protected]
Subject: Re: Building with mysql support

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
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.