Try to ./configure --with-mysql-dir=/usr/local
 
along with the other options.
 
Rene Kluwen
Chimit
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jay
Sent: donderdag 6 april 2006 16:48
To: users@kannel.org
Subject: Sqlbox Patch Compile Error

help pls.

i ran,

./configure -with-mysql --with-mysql-dir=/usr/local/mysql --with-dlr=mysql --enable-mysql-dlr -–enable-start-stop-daemon

OK

make bindir=/usr/local/bin install

ERROR

gcc -D_REENTRANT=1 -I. -Igw  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -I/usr/include/libxml2 -I/usr/include/openssl -I/usr/local/mysql/include -o gw/sqlbox_mysql.o -c gw/sqlbox_mysql.c
gw/sqlbox_mysql.c:4:25: mysql/mysql.h: No such file or directory
gw/sqlbox_mysql.c:48: error: syntax error before '*' token
gw/sqlbox_mysql.c: In function `mysql_select':
gw/sqlbox_mysql.c:51: error: `MYSQL_RES' undeclared (first use in this function)
gw/sqlbox_mysql.c:51: error: (Each undeclared identifier is reported only once
gw/sqlbox_mysql.c:51: error: for each function it appears in.)
gw/sqlbox_mysql.c:51: error: `result' undeclared (first use in this function)
gw/sqlbox_mysql.c: In function `mysql_fetch_msg':
gw/sqlbox_mysql.c:109: error: `MYSQL_RES' undeclared (first use in this function)
gw/sqlbox_mysql.c:109: error: `res' undeclared (first use in this function)
gw/sqlbox_mysql.c:110: error: `MYSQL_ROW' undeclared (first use in this function)
gw/sqlbox_mysql.c:110: error: syntax error before "row"
gw/sqlbox_mysql.c:119: error: `row' undeclared (first use in this function)
make: *** [gw/sqlbox_mysql.o] Error 1

thanks in advance!


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.

Reply via email to