Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-29 Thread Adan Canales
Hi again:

I could compile and install kannel and mysql, now the bearerbox runs fine
but this is the error message I got when run SQLBOX:

root@smsbkserver:~# /usr/local/sbin/sqlbox /usr/local/kannel/sqlbox2.conf
2012-08-29 00:46:48 [3483] [0] INFO: Debug_lvl = -1, log_file = none,
log_lvl = 0
2012-08-29 00:46:48 [3483] [0] DEBUG: Kannel sqlbox version `svn-r4991M'.
Build `Aug 28 2012 00:50:09', compiler `4.6.3'.
System Linux, release 3.2.0-23-generic, version #36-Ubuntu SMP Tue Apr 10
20:39:51 UTC 2012, machine x86_64.
Hostname smsbkserver, IP 127.0.1.1.
Libxml version 2.7.8.
Compiled with MySQL 5.5.24, using MySQL 5.5.24.
Using native malloc.

2012-08-29 00:46:48 [3483] [0] INFO: Starting to log to file
/home/adan/kannel-sqlbox.log level 0
2012-08-29 00:46:48 [3483] [0] INFO: Added logfile
`/home/adan/kannel-sqlbox.log' with level `0'.
2012-08-29 00:46:48 [3483] [0] ERROR: MYSQL: can not connect to database!
2012-08-29 00:46:48 [3483] [0] ERROR: MYSQL: Unknown MySQL server host
'192.168.1.101' (0)
2012-08-29 00:46:48 [3483] [0] PANIC: SQLBOX: MySQL: database pool has no
connections!
2012-08-29 00:46:48 [3483] [0] PANIC:
/usr/local/sbin/sqlbox(gw_backtrace+0xae) [0x426b3e]
2012-08-29 00:46:48 [3483] [0] PANIC:
/usr/local/sbin/sqlbox(gw_panic+0x165) [0x426cb5]
2012-08-29 00:46:48 [3483] [0] PANIC:
/usr/local/sbin/sqlbox(sqlbox_init_mysql+0x34c) [0x40b7ac]
2012-08-29 00:46:48 [3483] [0] PANIC: /usr/local/sbin/sqlbox(main+0x2eb)
[0x40958b]
2012-08-29 00:46:48 [3483] [0] PANIC:
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fe5d792476d]
2012-08-29 00:46:48 [3483] [0] PANIC: /usr/local/sbin/sqlbox() [0x40980d]
root@smsbkserver:~#

thanks again

2012/8/28 spameden spame...@gmail.com

 Sorry, it was a mistype from my end:

 ./configure --with-kannel-dir=/usr/local/include/kannel


 2012/8/28 Adan Canales adan...@gmail.com

 Thanks you, it works for mysql and kannel. Now I have this warning:

 config.status: creating gw/Makefile
 config.status: creating rpm/sqlbox.spec
 config.status: creating sb-config.h
 config.status: sb-config.h is unchanged
 config.status: executing depfiles commands
 config.status: executing libtool commands
 configure: WARNING: unrecognized options: --with-kannel

 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/ |
 ++

 Thank you for using Kannel.
 root@smsbkserver:~/trunk/addons/sqlbox#

 root@smsbkserver:~/trunk/addons/sqlbox# make
 make  all-recursive
 make[1]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox»
 Making all in gw
 make[2]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox/gw»
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o
 sqlbox.o sqlbox.c
 sqlbox.c: En la función ‘run_sqlbox’:
 sqlbox.c:450:10: aviso: conversión de puntero a entero de tamaño
 diferente [-Wpointer-to-int-cast]
 sqlbox.c: En la función ‘wait_for_connections’:
 sqlbox.c:490:13: aviso: conversión a puntero desde un entero de tamaño
 diferente [-Wint-to-pointer-cast]
 sqlbox.c: En la función ‘sqlboxc_run’:
 sqlbox.c:616:12: aviso: conversión de puntero a entero de tamaño
 diferente [-Wpointer-to-int-cast]
 mv -f .deps/sqlbox.Tpo .deps/sqlbox.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT sqlbox_mssql.o -MD -MP -MF .deps/sqlbox_mssql.Tpo
 -c -o sqlbox_mssql.o sqlbox_mssql.c
 mv -f .deps/sqlbox_mssql.Tpo .deps/sqlbox_mssql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT sqlbox_mysql.o -MD -MP -MF .deps/sqlbox_mysql.Tpo
 -c -o sqlbox_mysql.o sqlbox_mysql.c
 mv -f .deps/sqlbox_mysql.Tpo .deps/sqlbox_mysql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2
 -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2
 -I/usr/include/mysql -MT 

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-28 Thread Adan Canales
Hi again: I did everything from scracth and now I can fnd Mysql Server,
this is getting me crazy, this is what I have in my.cnf file which is in
/etc/mysql/my.cnf

user= mysql
pid-file= /var/run/mysqld/mysqld.pid
socket = /var/run/mysqld/mysqld.sock
port = 3306
basedir = /usr
datadir = /var/lib/mysql
tmpdir  = /tmp
lc-messages-dir = /usr/share/mysql
skip-external-locking

I supposed mysql is on /usr then, am I right?

When try to compile kannel with mysql doesn't find the directory in any
combination: see the log:

root@smsbkserver:~# cd trunk
root@smsbkserver:~/trunk# ./configure --with-mysql
checking svn checkout revision... 4991

Configuring for Kannel gateway version svn-r4991 ...

Running system checks ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... -std=gnu99
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for flex... no
checking for lex... no
checking for ar... ar
checking for convert... /usr/bin/convert
checking for perl... /usr/bin/perl
checking for inline... inline
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for log in -lm... yes
checking for accept in -lsocket... no
checking for inet_ntoa in -lnsl... yes
checking for inet_ntop in -lresolv... yes
checking for inet_ntop in -lbind... no
checking for pthread_exit in -lpthread... yes
checking for ANSI C header files... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking execinfo.h usability... yes
checking execinfo.h presence... yes
checking for execinfo.h... yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
 extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for gettimeofday... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for getopt_long... yes
checking for localtime_r... yes
checking for gmtime_r... yes
checking for backtrace... yes
checking for srandom... yes
checking for initgroups... yes
checking for strtoll... yes
checking for strtoq... yes
checking for getopt... yes
checking for gethostbyname_r... yes
checking for which type of gethostbyname_r... 6
checking for socklen_t in sys/socket.h... yes
checking for getopt in stdio.h... no
checking for getopt in unistd.h... yes
checking ftw.h usability... yes

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-28 Thread spameden
Hi.

If you're on debian you need to install libmysqlclient16-dev for 5.1 MySQL
or libmysqlclient18-dev for MySQL 5.5.

on centos - mysql-devel.



2012/8/28 Adan Canales adan...@gmail.com

 Hi again: I did everything from scracth and now I can fnd Mysql Server,
 this is getting me crazy, this is what I have in my.cnf file which is in
 /etc/mysql/my.cnf

 user= mysql
 pid-file= /var/run/mysqld/mysqld.pid
 socket = /var/run/mysqld/mysqld.sock
 port = 3306
 basedir = /usr
 datadir = /var/lib/mysql
 tmpdir  = /tmp
 lc-messages-dir = /usr/share/mysql
 skip-external-locking

 I supposed mysql is on /usr then, am I right?

 When try to compile kannel with mysql doesn't find the directory in any
 combination: see the log:

 root@smsbkserver:~# cd trunk
 root@smsbkserver:~/trunk# ./configure --with-mysql
 checking svn checkout revision... 4991

 Configuring for Kannel gateway version svn-r4991 ...

 Running system checks ...
 checking build system type... x86_64-unknown-linux-gnu
 checking host system type... x86_64-unknown-linux-gnu
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking for gcc option to accept ISO C99... -std=gnu99
 checking for a BSD-compatible install... /usr/bin/install -c
 checking for ranlib... ranlib
 checking for bison... bison -y
 checking for flex... no
 checking for lex... no
 checking for ar... ar
 checking for convert... /usr/bin/convert
 checking for perl... /usr/bin/perl
 checking for inline... inline
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 checking how to run the C preprocessor... gcc -std=gnu99 -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking size of short... 2
 checking size of int... 4
 checking size of long... 8
 checking size of long long... 8
 checking for log in -lm... yes
 checking for accept in -lsocket... no
 checking for inet_ntoa in -lnsl... yes
 checking for inet_ntop in -lresolv... yes
 checking for inet_ntop in -lbind... no
 checking for pthread_exit in -lpthread... yes
 checking for ANSI C header files... (cached) yes
 checking sys/ioctl.h usability... yes
 checking sys/ioctl.h presence... yes
 checking for sys/ioctl.h... yes
 checking sys/time.h usability... yes
 checking sys/time.h presence... yes
 checking for sys/time.h... yes
 checking for sys/types.h... (cached) yes
 checking for unistd.h... (cached) yes
 checking sys/poll.h usability... yes
 checking sys/poll.h presence... yes
 checking for sys/poll.h... yes
 checking pthread.h usability... yes
 checking pthread.h presence... yes
 checking for pthread.h... yes
 checking getopt.h usability... yes
 checking getopt.h presence... yes
 checking for getopt.h... yes
 checking syslog.h usability... yes
 checking syslog.h presence... yes
 checking for syslog.h... yes
 checking zlib.h usability... no
 checking zlib.h presence... no
 checking for zlib.h... no
 checking execinfo.h usability... yes
 checking execinfo.h presence... yes
 checking for execinfo.h... yes
 checking for stdlib.h... (cached) yes
 checking sys/socket.h usability... yes
 checking sys/socket.h presence... yes
 checking for sys/socket.h... yes
 checking sys/sockio.h usability... no
 checking sys/sockio.h presence... no
 checking for sys/sockio.h... no
 checking netinet/in.h usability... yes
 checking netinet/in.h presence... yes
 checking for netinet/in.h... yes
 checking for net/if.h... yes
 checking sys/ucontext.h usability... yes
 checking sys/ucontext.h presence... yes
 checking for sys/ucontext.h... yes
 checking for ld used by GCC... /usr/bin/ld
 checking if the linker (/usr/bin/ld) is GNU ld... yes
 checking for shared library run path origin... done
 checking for iconv... yes
 checking for working iconv... yes
 checking for iconv declaration...
  extern size_t iconv (iconv_t cd, char * *inbuf, size_t
 *inbytesleft, char * *outbuf, size_t *outbytesleft);
 checking for gettimeofday... yes
 checking for select... yes
 checking for socket... yes
 checking for strdup... yes
 checking for getopt_long... yes
 checking for localtime_r... yes
 checking for gmtime_r... yes
 checking for backtrace... yes
 checking for srandom... yes
 checking for initgroups... yes
 checking 

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-28 Thread spameden
Sorry, it was a mistype from my end:

./configure --with-kannel-dir=/usr/local/include/kannel

2012/8/28 Adan Canales adan...@gmail.com

 Thanks you, it works for mysql and kannel. Now I have this warning:

 config.status: creating gw/Makefile
 config.status: creating rpm/sqlbox.spec
 config.status: creating sb-config.h
 config.status: sb-config.h is unchanged
 config.status: executing depfiles commands
 config.status: executing libtool commands
 configure: WARNING: unrecognized options: --with-kannel

 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/ |
 ++

 Thank you for using Kannel.
 root@smsbkserver:~/trunk/addons/sqlbox#

 root@smsbkserver:~/trunk/addons/sqlbox# make
 make  all-recursive
 make[1]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox»
 Making all in gw
 make[2]: se ingresa al directorio «/home/adan/trunk/addons/sqlbox/gw»
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o sqlbox.o sqlbox.c
 sqlbox.c: En la función ‘run_sqlbox’:
 sqlbox.c:450:10: aviso: conversión de puntero a entero de tamaño diferente
 [-Wpointer-to-int-cast]
 sqlbox.c: En la función ‘wait_for_connections’:
 sqlbox.c:490:13: aviso: conversión a puntero desde un entero de tamaño
 diferente [-Wint-to-pointer-cast]
 sqlbox.c: En la función ‘sqlboxc_run’:
 sqlbox.c:616:12: aviso: conversión de puntero a entero de tamaño diferente
 [-Wpointer-to-int-cast]
 mv -f .deps/sqlbox.Tpo .deps/sqlbox.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_mssql.o -MD -MP -MF .deps/sqlbox_mssql.Tpo -c -o sqlbox_mssql.o
 sqlbox_mssql.c
 mv -f .deps/sqlbox_mssql.Tpo .deps/sqlbox_mssql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_mysql.o -MD -MP -MF .deps/sqlbox_mysql.Tpo -c -o sqlbox_mysql.o
 sqlbox_mysql.c
 mv -f .deps/sqlbox_mysql.Tpo .deps/sqlbox_mysql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_pgsql.o -MD -MP -MF .deps/sqlbox_pgsql.Tpo -c -o sqlbox_pgsql.o
 sqlbox_pgsql.c
 mv -f .deps/sqlbox_pgsql.Tpo .deps/sqlbox_pgsql.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_sdb.o -MD -MP -MF .deps/sqlbox_sdb.Tpo -c -o sqlbox_sdb.o
 sqlbox_sdb.c
 mv -f .deps/sqlbox_sdb.Tpo .deps/sqlbox_sdb.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_sqlite.o -MD -MP -MF .deps/sqlbox_sqlite.Tpo -c -o
 sqlbox_sqlite.o sqlbox_sqlite.c
 mv -f .deps/sqlbox_sqlite.Tpo .deps/sqlbox_sqlite.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_sqlite3.o -MD -MP -MF .deps/sqlbox_sqlite3.Tpo -c -o
 sqlbox_sqlite3.o sqlbox_sqlite3.c
 mv -f .deps/sqlbox_sqlite3.Tpo .deps/sqlbox_sqlite3.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel -g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -D_LARGE_FILES= -I/usr/include/libxml2 -I/usr/include/mysql
 -MT sqlbox_oracle.o -MD -MP -MF .deps/sqlbox_oracle.Tpo -c -o
 sqlbox_oracle.o sqlbox_oracle.c
 mv -f .deps/sqlbox_oracle.Tpo .deps/sqlbox_oracle.Po
 gcc -DHAVE_CONFIG_H -I. -I.. -I../gw -I../gw-g -O2 -D_XOPEN_SOURCE=600
 -D_BSD_SOURCE -I/usr/local/include/kannel 

Re: Help, SQLBOX gwlib not found when running ./configure

2012-08-27 Thread spameden
Hi.

You need to use kannel from svn as well.

Don't need to use ./bootstrap for sqlbox.

The process is simple

$ svn co https://svn.kannel.org/gateway/trunk
$ cd trunk
$ ./configure --with-mysql
$ make
$ make install
$ cd addons/sqlbox
$ ./configure --with-kannel=/usr/local/include/kannel
$ make
$ make install

if you want to install into /usr use --prefix=/usr

don't forget to remove actual kannel from the debian because it's outdated
and can break your installation.

2012/8/27 Adan Canales adan...@gmail.com

 Hi again and thanks for your help.

 I reinstall everything from scratch. I´m running an ubuntu version 12.04
 lts and this time I installed kannel from deb packages using apt-get
 install kannel and installed fine. I checked the libxml2 was install fine.

 Then download SQLBOX sources using sv co
 https://svn.kannel.org/sqlbox/trunk sqlbox and download the sqlbox
 sources fine

 The cd sqlbox and try to run ./bootstrap and gave me some missing
 libraries warnings so I installed automake, libtool, bison and libxml2-dev
 and try to run again and this is what I have now:

 root@smsbkserver:~/sqlbox# ./bootstrap
 + set -e
 + amvers=no
 + automake-1.11 --version
 + amvers=-1.11
 + test -1.11 = no
 + libtoolize=no
 + glibtoolize --version
 + libtoolize --version
 + libtoolize=libtoolize
 + test libtoolize = no
 + set +x
 + test ! -d autotools
 + libtoolize --copy --force
 libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `autotools'.
 libtoolize: copying file `autotools/ltmain.sh'
 libtoolize: You should add the contents of the following files to
 `aclocal.m4':
 libtoolize:   `/usr/share/aclocal/libtool.m4'
 libtoolize:   `/usr/share/aclocal/ltoptions.m4'
 libtoolize:   `/usr/share/aclocal/ltversion.m4'
 libtoolize:   `/usr/share/aclocal/ltsugar.m4'
 libtoolize:   `/usr/share/aclocal/lt~obsolete.m4'
 libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.inand
 libtoolize: rerunning libtoolize, to keep the correct libtool macros
 in-tree.
 libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
 + test -f ltmain.sh
 + aclocal-1.11 -I autotools
 + autoconf
 + autoheader
 + automake-1.11 --add-missing --copy
 configure.in:95: installing `autotools/config.guess'
 configure.in:95: installing `autotools/config.sub'
 configure.in:92: installing `autotools/install-sh'
 configure.in:92: installing `autotools/missing'
 gw/Makefile.am: installing `autotools/depcomp'
 Makefile.am:3: wildcard grep -l '!DOCTYPE ' doc/*.xml: non-POSIX variable
 name
 Makefile.am:3: (probably a GNU make extension)
 Makefile.am:10: wildcard doc/*.png: non-POSIX variable name
 Makefile.am:10: (probably a GNU make extension)
 Makefile.am:13: wildcard doc/*.fig: non-POSIX variable name
 Makefile.am:13: (probably a GNU make extension)
 Makefile.am:71: shell rpm --eval '%_rpmdir': non-POSIX variable name
 Makefile.am:71: (probably a GNU make extension)
 root@smsbkserver:~/sqlbox#

 I don´t know what else to do?? :( Thanks in advance.

 Kind regards

 Adan


 2012/8/26 spameden spame...@gmail.com

 are you sure kannel was installed successfully?

 try recompiling and reinstalling kannel..


 2012/8/27 Adan Canales adan...@gmail.com

 Hi again:

 this is what I did

 adan@smsserver:~/trunk/addons/sqlbox$ ./configure
 --with-kannel-dir=/usr/local/include/kannel

 and the results:

 Configuring Kannel and DB dependancies ...
 checking for Ct-Lib support... no
 checking for FreeTDS Ct-Lib support... no
 checking for gw-config... no
 checking for Kannel include files in... /usr
 checking for /usr/include/kannel/gw-config.h... no
 checking for Kannel include files in... /usr/local
 checking for /usr/local/include/kannel/gw-config.h... yes
 checking for cfg_create in -lgwlib... no

 configure: error: Kannel gwlib is required!
 adan@smsserver:~/trunk/addons/sqlbox$

 this is the display from the /include/kannel directory


 adan@smsserver:~$ cd /usr
 adan@smsserver:/usr$ cd local
 adan@smsserver:/usr/local$ cd include
 adan@smsserver:/usr/local/include$ cd kannel
 *adan@smsserver:/usr/local/include/kannel$ ls
 gw gw-config.h gwlib wap*
 adan@smsserver:/usr/local/include/kannel$

 adan@smsserver:/usr/local/include/kannel$ cd gwlib
 adan@smsserver:/usr/local/include/kannel/gwlib$ ls
 accesslog.h dbpool_p.h gw-prioqueue.h list.h protected.h
 cfg.def dict.h gw-rwlock.h log.h regex.h
 cfg.h fdset.h gwthread.h md5.h semaphore.h
 charset.h gwassert.h gw_uuid.h mime.h socket.h
 conn.h gw-getopt.h gw_uuid_types.h octstr.h ssl.h
 counter.h gwlib.h html-entities.def parse.h thread.h
 date.h gwmem.h http.h pcre.h utils.h
 dbpool.h gwpoll.h latin1_to_gsm.h pki.h xmlrpc.h

 I don´t know what else to try ??





 2012/8/25 spameden spame...@gmail.com

 sorry, you need to do it this way in sqlbox:

 ./configure --with-kannel-dir=/usr/local/include/kannel

 2012/8/26 adan...@gmail.com

 I did it, kannel is in that directory then i did configure with those
 options and says:
 Configure: error: Kannel gwlib is required!

 Could