C. Tomlinson
2005-Mar-05 06:19 UTC
[Asterisk-Users] Getting asterisk-addons installed on Debian?
Hi, I am having some trouble installing asterisk addons on Debian. I wish to do this to use mysql billing. I have mysql and mysql-devel packages installed I think!? pbx01:/usr/src/asterisk-addons# dpkg -l mysql-server libmysqlclient*dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-===================-===================-====================================================ii mysql-server 4.0.23-7 mysql database server binaries un libmysqlclient-dev <none> (no description available) pn libmysqlclient10-de <none> (no description available) ii libmysqlclient12-de 4.0.23-7 mysql database development files un libmysqlclient14-de <none> (no description available) un libmysqlclient6-dev <none> (no description available) un libmysqlclient9-dev <none> (no description available) pbx01:/usr/src/asterisk-addons# Which I know you need. I have mysql running etc. The problem seems to be making asterisk-addons. I have exported from the cvs and tried both CVS and STABLE versions. I am running asterisk stable, installed via xorcom rapid (which may be why it freaks out?) When googling I didn't find much, bar one similar problem with no replies. Output: pbx01:/usr/src/asterisk-addons# make clean rm -f *.so *.o .depend make -C format_mp3 clean make[1]: Entering directory `/usr/src/asterisk-addons/format_mp3' rm -f *.o *.so *~ make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3' pbx01:/usr/src/asterisk-addons# make install ./mkdep -fPIC -I../asterisk -D_GNU_SOURCE -I/usr/include/mysql `ls *.c` ./mkdep: line 85: cc: command not found make -C format_mp3 all make[1]: Entering directory `/usr/src/asterisk-addons/format_mp3' gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -D_REENTRANT -D_GNU_SOURCE -O6 -c -o common.o common.c make[1]: gcc: Command not found make[1]: *** [common.o] Error 127 make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3' make: *** [format_mp3/format_mp3.so] Error 2 pbx01:/usr/src/asterisk-addons# A few errors.. If anyone could help with any easy way to install asterisk-addons, or just the mysql section, that would be great. I haven't been able to find -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050305/4805f5cd/attachment.htm
Martijn van Oosterhout
2005-Mar-05 06:42 UTC
[Asterisk-Users] Getting asterisk-addons installed on Debian?
On Sat, Mar 05, 2005 at 01:19:24PM -0000, C. Tomlinson wrote:> Hi, > > I am having some trouble installing asterisk addons on Debian. I wish to do > this to use mysql billing.<snip>> make[1]: gcc: Command not foundYou need a C compiler, try apt-get install build-essential Hope this helps, -- Martijn van Oosterhout Ecomtel Pty Ltd
Tzafrir Cohen
2005-Mar-05 20:33 UTC
[Asterisk-Users] Getting asterisk-addons installed on Debian?
On Sat, Mar 05, 2005 at 01:19:24PM -0000, C. Tomlinson wrote:> Hi, > > I am having some trouble installing asterisk addons on Debian. I wish to do > this to use mysql billing. > > I have mysql and mysql-devel packages installed I think!?Yes, it should do (together with a build environment). I know it is enough (at least for the mysql part) because I've already built debs of asterisk w/mysql: http://tzafrir.org.il/rapid/ http://tzafrir.org.il/rapid/APT.html Those are not well-tested packages. Specifically the mysql stuff will go into a separate package. I'm basically following Debian's pkg-voip packages. The news from there are mostly: * inclusion of bristuff * asterisk-h323 dropped, as it is currently incompatible with the 1-0 branch. asterisk-oh323 is used instead.> The problem seems to be making asterisk-addons. > I have exported from the cvs and tried both CVS and STABLE versions. I am > running asterisk stable, installed via xorcom rapid (which may be why it > freaks out?)Xorcom Rapid does not include a build environment because most of our users don't need one and we don't want to maintain all the extra packages needed for a build environment. We build al of our packages on Debian Sarge and keep as close as possible to it, so if you want a build environment for Rapid you need to add Debian sources to your apt repository. You can do that using 'apt-setup' -- Tzafrir Cohen | New signature for new address and | VIM is http://tzafrir.org.il | new homepage | a Mutt's tzafrir@cohens.org.il | | best ICQ# 16849755 | Space reserved for other protocols | friend