On Mon, Mar 31, 2003 at 05:34:08PM -0800, Miles Scruggs wrote: > I'm having some issues configuring midgard-lib > > [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). 2. Or you can try to use libmidgard from MySQL-3.x. I didn't try this way, but ANO tell me yesterday that it works... -- Regards, Sergei Dolmatov. --- Long computations which yield zero are probably all for naught. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
