I have compile the LibSDB using cygwin with this command:
./configure --with-odbc=odbc32 --prefix=/usr/local

and after compile and install the LibSDB in my pc, I compiled kannel with
this command:
./configure --enable-sdb-dlr --enable-sdb --with-prefix=/usr/local

and this is what i got:

Comfiguring DB support ...
checking whether to compile with MySQL support... disabled
checking whether to compile with LibSDB support... searching
checking for sdb-config... <cached> /usr/local/bin/sdb-config
checking for sdb.h... <cached> yes
checking for sdb_init... <cached> yes

this is my kannel configuration file:

group = core
admin-port = 13000
admin-password = someone
status-password = someone
smsbox-port = 13008
box-allow-ip = "127.0.0.1"
box-deny-ip = "*.*.*.*"
log-file = "usr/local/kannel/logs/outgoing/bearebox.log"
log-level = 0
access-log = "usr/local/kannel/logs/outgoing/access.log"
unified-prefix = "6"
store-file = "usr/local/kannel/store/outgoing/storefile"
dlr-storage = sdb 

include = dlr-sdb.conf

group = smsbox
bearerbox-host = localhost
sendsms-port = 4000
global-sender = 0888
log-file = "usr/local/kannel/logs/outgoing/smsbox.log"
log-level = 0
access-log = "usr/local/kannel/logs/outgoing/access.log"

......

and the dlr-sdb.conf is like this:

group = sdb-connection
id = mydlr
url= "xxxxxx"

group = dlr-db
id= mydlr
table = DLRREPORT
field-smsc = SMSC
field-timestamp = TIMESTAMP
field-destination = DESTINATION
field-service = SERVICE
field-url = URL
field-mask = mask
field-status = status

but when i run bearerbox with this configuration file, i got an error. The
error is like this:
2003-03-26 12:38:09 [0] INFO: Debug_lvl = -1, log_file = <none>, log_lvl = 0
2003-03-26 12:38:09 [0] DEBUG: Loading include file 'dlr-sdb.conf' <on line
43 of file kannel.conf>.
2003-03-26 12:38:09 [0] PANIC: DLR: storage type defined as 'sdb', but no
LibSDB support build in!

Can some one help me on this problem?
I'm using W2K Operating System and cygwin.

thanks.

regards
Desmond.

<<attachment: winmail.dat>>

Reply via email to