#
 ./configure --with-mysql

gives error;
root@ctlgate:~/gateway-1.5.0# ./configure -–with-mysql
configure: error: unrecognized option: -–with-mysql
Try `./configure --help' for more information.
root@ctlgate:~/gateway-1.5.0# sudo ./configure -–with-mysql
configure: error: unrecognized option: -–with-mysql
Try `./configure --help' for more information.

but when i do
# ./configure --with-mysql-dir=etc/mysql
i get
Configuring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite2 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
checking whether to compile with FreeTDS Ct-Lib support... disabled

Generating output files ...
configure: creating ./config.status
config.status: creating gwlib/gw_uuid_types.h
config.status: creating Makefile
config.status: creating gw-config.h
config.status: gw-config.h is unchanged
configure: WARNING: unrecognized options: --enable-mysql

License information ...
+--------------------------------------------------------------------+
| License:                                                           |
| This software is subject to the Kannel Software License, available |
| in this distribution in the file LICENSE. By continuing this       |
| installation process, you are bound by the terms of this license   |
| agreement. If you do not agree with the terms of this license, you |
| must abort the installation process at this point.                 |
|                                                                    |
|                      The Kannel Group <http://www.kannel.org/>     |
+--------------------------------------------------------------------+

does "checking whether to compile with MySQL support... disabled"
affect nothing? if it does how do i enable it?


chris

On 3/25/16, Беляев Владимир Николаевич <v.bely...@sngb.ru> wrote:
> I did so:
>
> # kannel
> ./configure --with-mysql
> # opensmppbox, sqlbox
> ./configure --with-kannel-dir=/home/u3850/gateway-1.5.0
>
> -----Original Message-----
> From: users [mailto:users-boun...@kannel.org] On Behalf Of christopher
> kamutumwa
> Sent: Friday, March 25, 2016 1:48 PM
> To: spameden
> Cc: users
> Subject: Re: sqlbox make error
>
> Hi below is what am getting now. please advise
>
>
> Configuring DB support ...
> checking whether to compile with MySQL support... disabled checking whether
> to compile with LibSDB support... disabled checking whether to compile with
> SQLite2 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
> checking whether to compile with Redis support... disabled checking whether
> to compile with FreeTDS Ct-Lib support... disabled
>
>
> chris
> On 3/24/16, spameden <spame...@gmail.com> wrote:
>> 2016-03-24 22:52 GMT+03:00 christopher kamutumwa
>> <chriskamutu...@gmail.com>:
>>
>>> hello,
>>>
>>> Ive installed kannel on ubuntu. now i want to install sqlbox i get
>>> below error kindly advise how to resolve this? i aready have mysql on
>>> server;
>>>
>>> sqlbox.c:98:2: error: #error You need support for at least one DB
>>> engine. Please recompile Kannel.
>>>  #error You need support for at least one DB engine. Please recompile
>>> Kannel.
>>>
>>
>> Error is self-explanatory. Recompile kannel with mysql support:
>>
>> ./configure --with-mysql
>> make; make install
>>
>> after that try compiling sqlbox again.
>>
>>>
>>>
>>> regards chris
>>>
>>>
>>
>
>
>

Reply via email to