Kannel need the headers for mysql/whatever db you want.
yum install mysql-devel or apt-get install mysql-devel if you want to run MySQL as database. On Fri, 2010-11-12 at 07:58 +0100, Nikos Balkanas wrote: > As the log states: > > You need to have at least one DB engine. Additionally it wants kannel also > to have that DB compiled in. > > BR, > Nikos > ----- Original Message ----- > From: "Harbhag Singh Sohal" <harbhag.so...@gmail.com> > To: <users@kannel.org> > Sent: Friday, November 12, 2010 8:51 AM > Subject: Error installing Sqlbox from SVN > > > I am installing kannel and sqlbox from SVN. Kannel installed > successfully but sqlbox is giving the following error > > cd . && /bin/bash ./config.status sb-config.h > config.status: creating sb-config.h > config.status: sb-config.h is unchanged > make all-recursive > make[1]: Entering directory `/home/harbhag/trunk/addons/sqlbox' > Making all in gw > make[2]: Entering directory `/home/harbhag/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 -MT sqlbox.o -MD -MP -MF .deps/sqlbox.Tpo -c -o > sqlbox.o sqlbox.c > sqlbox.c:96:2: error: #error You need support for at least one DB > engine. Please recompile Kannel. > sqlbox.c: In function ‘run_sqlbox’: > sqlbox.c:450: warning: cast from pointer to integer of different size > sqlbox.c: In function ‘wait_for_connections’: > sqlbox.c:490: warning: cast to pointer from integer of different size > sqlbox.c: In function ‘sqlboxc_run’: > sqlbox.c:615: warning: cast from pointer to integer of different size > make[2]: *** [sqlbox.o] Error 1 > make[2]: Leaving directory `/home/harbhag/trunk/addons/sqlbox/gw' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/harbhag/trunk/addons/sqlbox' > make: *** [all] Error 2 > > Please tell me the solution for it. >
signature.asc
Description: This is a digitally signed message part