Kannel安装

CFLAGS=’-pthread’ CFLAGS=-I/usr/kerberos/include ./configure –prefix=/appsite/smsgateway –with-defaults=debug –with-mysql –with-mysql-dir=/appsite/mysql -enable-start-stop-daemon

修正configure 脚本中找不到mysql.h与mysql_version的bug
vi configure
? mysql
or ac_header in 将其修为/appsite/mysql/include/mysql/mysql.h /appsite/mysql/include/mysql/mysql_version.h
相应修正gw/dlr_mysql.c

cd gw
vi dlr_mysql.c
#ifdef HAVE_MYSQL
#include </appsite/mysql/include/mysql/mysql.h>
 

Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments

还没有评论。

发表评论

(必填)

(必填)