----- Original Message -----
Sent: Wednesday, March 19, 2003 7:51
AM
Subject: Mysql DLR error
I have compiled Kannel with this command
:
./configure --prefix=/usr/local/kannel
--enable-mysql --disable-docs
and i got this :
Configuring DB support ...
checking whether to
compile with MySQL support... searching
checking for mysql_config...
(cached) /usr/bin/mysql_config
checking mysql version...
3.23.55
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
.......
this is my sample conf :
group = core
admin-port = 13000
smsbox-port
= 13001
admin-password = bar
log-file = "/tmp/kannel.log"
box-deny-ip
= "*.*.*.*"
box-allow-ip = "127.0.0.1"
unified-prefix =
"00358,0"
dlr-storage = mysql
group = smsc
smsc = fake
smsc-id
= FAKE
port = 10000
connect-allow-ip = 127.0.0.1
group = mysql-connection
id = dlr-db
host =
localhost
mysql-username = dlr
mysql-password = dlr
database = dlr
group = dlr-db
id = dlr-db
table = dlr
field-smsc =
smsc
field-timestamp = ts
field-destination =
destination
field-service = service
field-url = "">field-mask =
mask
field-status = status
group = smsbox
bearerbox-host = localhost
sendsms-port =
8888
global-sender = 8888
log-file = "/tmp/smsbox.log"
log-level =
0
group = sms-service
keyword = nop
text = "test sukses You asked
nothing and I did it!"
#################### End of myconf #########################
when i run ./bearerbox myconf ,i got this error :
2003-03-19 10:33:40 [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2003-03-19 10:33:40 [0] PANIC: DLR: storage type defined as
'mysql', but no MySQL support build in!
what is wrong? i can solve this problems, anyone can help me?
if i remove this line:
dlr-storage = mysql
Kannel working properly...and this is the log
2003-03-19 10:33:23 [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2003-03-19 10:33:23 [0] WARNING: DLR: using default 'internal'
for storage type.
2003-03-19 10:33:23 [0] DEBUG: Kannel bearerbox version
`1.3.1'.
System Linux, release 2.4.18-3, version #1 Thu Apr 18 07:37:53 EDT
2002, machine i686.
Hostname lbsserver, IP 127.0.0.1.
Libxml version
20419.
Using OpenSSL 0.9.6b [engine] 9 Jul 2001.
Using MySQL
3.23.55.
Using native malloc.
regards
Arief R