[asterisk-users] Help compiling asterisk-addons on Debian?

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Sep 2 05:17:57 MST 2006


On Fri, Aug 25, 2006 at 08:35:59PM -0400, Christopher Aloi wrote:
> Hello All -
> 
> Running the following:
> 
> Debian Stable
> Asterisk SVN-branch-1.2-r41069
> 
> Checked out the following from SVN:
> 
> asterisk-addons/branches/1.2
> 
> When I attempt to compile asterisk-addons I get the following:

The build-deps of asterisk-addons on my Sarge+backports system are:

debhelper (>= 4.0.0), libmysqlclient15-dev | libmysqlclient12-dev, 
asterisk-dev, dpatch

> 
> /usr/src/asterisk-addons
> $ make
> 
> /clip
> asterdev1:/usr/src/asterisk-addons# make
> ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE     `ls *.c`
> app_addon_sql_mysql.c:23:19: mysql.h: No such file or directory
> cdr_addon_mysql.c:38:19: mysql.h: No such file or directory
> cdr_addon_mysql.c:39:20: errmsg.h: No such file or directory
> res_config_mysql.c:53:19: mysql.h: No such file or directory
> res_config_mysql.c:54:27: mysql_version.h: No such file or directory
> res_config_mysql.c:55:20: errmsg.h: No such file or directory
> make -C format_mp3 all
> make[1]: Entering directory `/usr/src/asterisk-addons/format_mp3'
> /clip
> 
> Is this looking for MySQL? I do have MySQL installed and running, a bit
> confused here.... anyone have any thouhts?

apt-get install libmysqlclient12-dev

-- 
Tzafrir Cohen         sip:tzafrir at local.xorcom.com
icq#16849755          iax:tzafrir at local.xorcom.com
+972-50-7952406          jabber:tzafrir at jabber.org
tzafrir.cohen at xorcom.com     http://www.xorcom.com



More information about the asterisk-users mailing list