Re: configure problem with mysql on redhat 9 and more

Sahil Aggarwal <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <1101883591.2323.60.camel@Sahil>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.