Hi Jay,
You will need to install mysql-devel for this. There's a better solution however:

Here is an extract of the relevant sections of the Kannel config file. Highlighted portions are vital:

group               = core
dlr-storage         = internal

group               = sendsms-user
username            = xxx
password            = yyy
max-messages        = 5
concatenation       = 1
forced-smsc         = INOUT
user-allow-ip       = "127.0.0.1"
dlr-url             = "http://localhost/cgi-bin/kannel-dlr.pl?id=%I&smsc=%idest=%p&src="">

When you call you sendsms cgi-script through your web browser maybe:

http://localhost:kannelPort/cgi-bin/sendsms?username=xxx&password=yyy&to=88888&text=hello&dlr-mask=31

When Kannel receives a delivery report, it will call the dlr-url, and your Perl script (kannel-dlr.pl) will perform the insertions into MySQL instead. Voila!

Jay wrote:
Guys,

I am using MySQL 5.0

Kannel version 1.4.0

did this;

./configure --with-mysql --with-mysql-dir=/usr/local/mysql
make
make install

a part of the ./configure output :

Configuring DB support ...
checking whether to compile with MySQL support... searching
checking for mysql_config... (cached) /usr/bin/mysql_config
checking mysql version... 5.0.19
checking mysql reentrant libs...  -L/usr/local/lib -L/usr/local/mysql/lib -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -lc -lnss_files -lnss_dns -lresolv -lc -lnss_files -lnss_dns -lresolv
checking for mysql_init in -lmysqlclient_r... (cached) yes
checking mysql includes... -I/usr/local/mysql/include
checking for mysql/mysql.h... (cached) no
checking for mysql/mysql_version.h... (cached) no
checking whether to compile with MySQL support... yes
checking whether to compile with LibSDB support... disabled
checking whether to compile with SQLite support... disabled
checking whether to compile with Oracle support... disabled
checking whether to compile with PostgresSQL support... disabled
checking for Ct-Lib support... no
checking for FreeTDS Ct-Lib support... no

are the ones highlighted the possible cause???

thanks...

regards,
Roland


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.
--
This message has been scanned for viruses and
dangerous content by
MailScanner, and is
believed to be clean.

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to