Hi,

On Tue, 2003-04-01 at 03:02, Sergei Dolmatov wrote:
> > [EMAIL PROTECTED]:/usr/local/src/midgard/midgard-lib-1.4.4# ./configure
> > --with-mysql=/usr/local/mysql/ -with-expat
> > ......
> > ......
> > checking MySQL location... /usr/local/mysql
> > checking Expat location... /usr
> > checking Repligard binary owner... mysql
> > checking for library containing mysql_connect... no
> > configure: error: You need libmysqlclient
> > 
> > Now I installed mysql-4.0.12 from source into /usr/local/mysql
> 
> mysql_connect() is deprecated and doesn't exist in libmysqlclient from 4.0
> by default.
> 
> You can fix it in two ways:
> 
> 1. Fix configure.in in libmidgard (replace mysql_connect with
> mysql_real_connect, AFAICS, there is only one string with this test).

Indeed this is the way to fix this in current release. Midgard-lib only
uses mysql_real_connect, we just missed the check in configure. I
commited this fix to configure.in to CVS.

cheers,

-- 
Envida                     http://www.envida.net/
Armand A. Verstappen       Graadt van Roggenweg 328
[EMAIL PROTECTED]       3531 AH Utrecht
tel: +31 (0)30 298 2255    Postbus 19127
fax: +31 (0)30 298 2111    3501 DC Utrecht

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to