The problem is because of the single quotes around the LIBS

So from "configure"
Remove
MYSQL_LIBS="$($MYSQL_CONFIG --libs)"
Instead Add
MYSQL_LIBS="$($MYSQL_CONFIG --libs  |sed s/\'//g)"

patch is doing the reverse.

-Regards
Sahil

On Tue, 2004-11-30 at 22:08, James Coleman wrote:


The problem:

 ./configure --disable-ssl --with-mysql --with-mysql-dlr=/usr
 mysql-config returns libs in quotes ''
 parsed incorrectly on some systems
 configure script fails to configure with mysql
 
The change:

-        MYSQL_LIBS="$($MYSQL_CONFIG --libs  |sed s/\'//g)"
+        MYSQL_LIBS="$($MYSQL_CONFIG --libs)"

patch attached ... ,

 ~/src/kannel/gateway-1.4.0/$ patch -p0 <mysql-redhat-configure.patch 

Tested both with latest cvs head and gateway-1.4.0

Thanks,

James.

Reply via email to