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

C. Tomlinson asterisk_list at burntwires.com
Sat Mar 5 07:17:24 MST 2005


Hi,

Thanks. I idd that and now get different errors:

pbx01:/usr/src/asterisk-addons# make install
./mkdep -fPIC -I../asterisk -D_GNU_SOURCE  -I/usr/include/mysql   `ls *.c`
app_addon_sql_mysql.c:15:27: asterisk/file.h: No such file or directory
app_addon_sql_mysql.c:16:29: asterisk/logger.h: No such file or directory
app_addon_sql_mysql.c:17:30: asterisk/channel.h: No such file or directory
app_addon_sql_mysql.c:18:26: asterisk/pbx.h: No such file or directory
app_addon_sql_mysql.c:19:29: asterisk/module.h: No such file or directory
app_addon_sql_mysql.c:20:34: asterisk/linkedlists.h: No such file or
directory
app_addon_sql_mysql.c:21:31: asterisk/chanvars.h: No such file or directory
app_addon_sql_mysql.c:22:27: asterisk/lock.h: No such file or directory
cdr_addon_mysql.c:17:29: asterisk/config.h: No such file or directory
cdr_addon_mysql.c:18:30: asterisk/options.h: No such file or directory
cdr_addon_mysql.c:19:30: asterisk/channel.h: No such file or directory
cdr_addon_mysql.c:20:26: asterisk/cdr.h: No such file or directory
cdr_addon_mysql.c:21:29: asterisk/module.h: No such file or directory
cdr_addon_mysql.c:22:29: asterisk/logger.h: No such file or directory
cdr_addon_mysql.c:23:26: asterisk/cli.h: No such file or directory
cdr_addon_mysql.c:24:22: asterisk.h: No such file or directory
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
common.c:1:29: asterisk/logger.h: No such file or directory
common.c: In function `decode_header':
common.c:93: warning: implicit declaration of function `ast_log'
common.c:93: error: `LOG_WARNING' undeclared (first use in this function)
common.c:93: error: (Each undeclared identifier is reported only once
common.c:93: error: for each function it appears in.)
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/usr/src/asterisk-addons/format_mp3'
make: *** [format_mp3/format_mp3.so] Error 2
pbx01:/usr/src/asterisk-addons#

Now this is probably due to me not having compiled * to start with, so I
have no /usr/src/asterisk folder.

I feel I may be better starting from scratch with a default Debian
installation, and then I will know what I have where?

What are your opinions?

The best thing would be an apt-get install asterisk-addons, but I haven't
found that :/

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Martijn van
Oosterhout
Sent: 05 March 2005 13:42
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [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 found

You need a C compiler, try apt-get install build-essential

Hope this helps,
-- 
Martijn van Oosterhout
Ecomtel Pty Ltd
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list