I'm running a Gentoo Linux sustem.

Today I've added:
dlr-storage = mysql

to my config file. To install mysql I did as you always do in gentoo: emerge mysql

Then I reconfigured my kannel installation with:

./configure --enable-mysql
make

The ./configure commands output the following for mysql:
-----------------------------
Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... (cached) /usr/bin/mysql_config
checking mysql version... 4.0.14
checking for mysql/mysql.h... (cached) yes
checking for mysql/mysql_com.h... (cached) yes
checking for mysql/mysql_version.h... (cached) yes
checking for mysql_init in -lmysqlclient... (cached) yes
checking whether to compile with MySQL support... yes
checking whether to compile with LibSDB support... disabled
--------------------

when I run the make command it stops after:
----------------------------
ist.o libgw.a libwmlscript.a libwap.a libgwlib.a -lmysqlclient -lssl -lpthread -lresolv -lnsl -lm -L/usr/lib -lxml2 -lz -lpthread -lm -L/usr/lib -lcrypto -lssl -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
gcc -D_REENTRANT=1 -I. -Igw -g -O2 -DBROKEN_PTHREADS=1 -I/usr/include/libxml2 -I/usr/include/openssl -I'/usr/include/mysql' -o checks/check_octstr checks/check_octstr.o libgw.a libwmlscript.a libwap.a libgwlib.a -lmysqlclient -lssl -lpthread -lresolv -lnsl -lm -L/usr/lib -lxml2 -lz -lpthread -lm -L/usr/lib -lcrypto -lssl -L'/usr/lib/mysql' -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto
-----------------------------------


Nothing happens after that, so I expect it's done yes?

Then I run:
gw/bearerbox gw/kannel.conf

However it then says:
----------------------------
2003-10-26 16:25:42 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-10-26 16:25:42 [0] PANIC: DLR: storage type defined as 'mysql', but no MySQL support build in!
-----------------------------



Now, what could the problem be? I'm confused, am I not using the right commands at some point? or does it not complete the mysql installation for some reason? It all seems good though when you run the ./configure --enable-mysql command...


Please help if you can, I'm in desperate need of being able to store messages in a database.

Thank you,
Jarl

_________________________________________________________________
Never get a busy signal because you are always connected with high-speed Internet access. Click here to comparison-shop providers. https://broadband.msn.com





Reply via email to