Bruce Komito
2009-Feb-23 20:26 UTC
[asterisk-users] Compiling asterisk-addons-1.6.0 under Debian 2.6.18?
Is there some magic to compiling asterisk-addons-1.6.0 under Debian 2.6.18 and mysql 5.0? I am unable to get configure to recognize the existance of mysqlclient. Imparticular, when it gets to: checking for mysql_init in -lmysqlclient... it returns "no". For the past several releases, I've had to hack or otherwise coerce this to work, but this time, no amount of fiddling with options or hacking the script seems to get me anywhere. And, of course, if configure doesn't think mysql is installed properly, it won't build the addons that depend on mysql. Anyone have this experience and a workaround for it? TIA Bruce Komito WPTI Telecom (775) 236-5815
Tzafrir Cohen
2009-Feb-23 20:46 UTC
[asterisk-users] Compiling asterisk-addons-1.6.0 under Debian 2.6.18?
On Mon, Feb 23, 2009 at 12:26:09PM -0800, Bruce Komito wrote:> Is there some magic to compiling asterisk-addons-1.6.0 under Debian 2.6.18 > and mysql 5.0? I am unable to get configure to recognize the existance of > mysqlclient. Imparticular, when it gets to: > > checking for mysql_init in -lmysqlclient... it returns "no". > > For the past several releases, I've had to hack or otherwise coerce this > to work, but this time, no amount of fiddling with options or hacking the > script seems to get me anywhere. And, of course, if configure doesn't > think mysql is installed properly, it won't build the addons that depend > on mysql. > > Anyone have this experience and a workaround for it?aptitude install libmysqlclient12-dev (or 15, or whatever) -- Tzafrir Cohen icq#16849755 jabber:tzafrir.cohen at xorcom.com +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir