First you need to compile kannel with mysql support, go to into kannel dir
(if you did svn how I said earlier it would be):

$ cd trunk
$ ./configure --with-mysql
$ make
$ make install

after it installed successfully (it can ask for some libs on your system on
configure part):

$ cd addons/sqlbox
$ ./configure
$ make
$ make install

by default it'd install kannel & sqlbox into /usr/local, if you need
different place you need to specify --prefix on configure.
2012/6/5 Willy Mularto <[email protected]>

> Did you already enabled --with-mysql and --with-mysql-dir directive during
> configure?
>
>
>
> On Jun 5, 2012, at 1:11 PM, alok srivastava wrote:
>
> alok@alok-Inspiron-N5110:~/kannel50/gateway-1.5.0$ sudo gw/bearerbox -v 1
> /etc/kannel/kannel1600.conf
> 2012-06-05 11:29:57 [13671] [0] INFO: Debug_lvl = 1, log_file = <none>,
> log_lvl = 0
> 2012-06-05 11:29:57 [13671] [0] PANIC: DLR: storage type 'mysql' is not
> supported!
> 2012-06-05 11:29:57 [13671] [0] PANIC: gw/bearerbox(gw_panic+0xd2)
> [0x80d5262]
> 2012-06-05 11:29:57 [13671] [0] PANIC: gw/bearerbox(dlr_init+0x220)
> [0x8060250]
> 2012-06-05 11:29:57 [13671] [0] PANIC: gw/bearerbox(main+0xe5) [0x8051965]
> 2012-06-05 11:29:57 [13671] [0] PANIC:
> /lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x232113]
> 2012-06-05 11:29:57 [13671] [0] PANIC: gw/bearerbox() [0x8052991]
>
>
>
> regards
> abhi
>
>
> Willy Mularto
> F300HD+MR18DE (NLC1725)
>
>
>
>
>
>
>
>
>
>

Reply via email to