[Asterisk-Users] Getting asterisk-addons installed on Debian?

C. Tomlinson asterisk_list at burntwires.com
Sat Mar 5 06:19:24 MST 2005


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


More information about the asterisk-users mailing list