Christopher Aloi
2006-Aug-25 17:35 UTC
[asterisk-users] Help compiling asterisk-addons on Debian?
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: /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? -- ------ Christopher T Aloi ------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060825/9731edc7/attachment.htm
Do you have the development libraries installed too? I believe on Debian it's something like libmysqlclient _____ From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Christopher Aloi Sent: Friday, August 25, 2006 8:36 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Help compiling asterisk-addons on Debian? 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: /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? -- ------ Christopher T Aloi ------ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060825/95da55aa/attachment.htm
You need to install libmysqlclient15dev, it's saying it can't find the header files it requires.>-----Original Message----- >From: asterisk-users-bounces@lists.digium.com >[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of >Christopher Aloi >Sent: Friday, August 25, 2006 8:36 PM >To: Asterisk Users Mailing List - Non-Commercial Discussion >Subject: [asterisk-users] Help compiling asterisk-addons on Debian? > >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: > >/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? > >-- >------ >Christopher T Aloi >------ >
Tzafrir Cohen
2006-Sep-02 05:17 UTC
[asterisk-users] Help compiling asterisk-addons on Debian?
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@local.xorcom.com icq#16849755 iax:tzafrir@local.xorcom.com +972-50-7952406 jabber:tzafrir@jabber.org tzafrir.cohen@xorcom.com http://www.xorcom.com