[asterisk-users] problem on compiling asterisk-addons-1.6.2.0-rc1
BERGANZ François
francois at acropolistelecom.net
Mon Aug 24 05:17:24 CDT 2009
hello,
I tried to compil asterisk-addons-1.6.2.0-rc1,
and I have that error:
[CC] res_config_mysql.c -> res_config_mysql.o
res_config_mysql.c:1367: error: unknown field âupdate2_funcâ specified in
initializer
res_config_mysql.c: In function âparse_configâ:
res_config_mysql.c:1432: error: âCONFIG_STATUS_FILEMISSINGâ undeclared
(first use in this function)
res_config_mysql.c:1432: error: (Each undeclared identifier is reported only
once
res_config_mysql.c:1432: error: for each function it appears in.)
res_config_mysql.c:1436: error: âCONFIG_STATUS_FILEINVALIDâ undeclared
(first use in this function)
Here, all my commands to do it:
apt-get install curl doxygen libnewt-dev mysql-client php5 php5-cli
libmysqlclient15-dev libncurses5 libncurses5-dev openssl libssl-dev
libssl0.9.8 mpg123 make g++ subversion subversion-tools newt-tcl
linux-headers-`uname -r` php5-memcache php-pear
DAHDI
#cd /usr/src
#wget
<http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linu
x-complete-2.2.0.2+2.2.0.tar.gz>
http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux
-complete-2.2.0.2+2.2.0.tar.gz [
<http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linu
x-complete-2.2.0.2+2.2.0.tar.gz> ^]
#tar zxfv dahdi-linux-complete-2.2.0.2+2.2.0.tar.gz
#cd dahdi-linux-complete-2.2.0.2+2.2.0/
#make all && make install && make config
LIBPRI
#wget
<http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.t
ar.gz>
http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.ta
r.gz [
<http://downloads.asterisk.org/pub/telephony/libpri/releases/libpri-1.4.10.t
ar.gz> ^]
#tar zxfv libpri-1.4.10.tar.gz
#cd libpri-1.4.10
#make && make install
ASTERISK
#wget
<http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.
1.5-rc1.tar.gz>
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.1
.5-rc1.tar.gz [
<http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-1.6.
1.5-rc1.tar.gz> ^]
#tar zxfv asterisk-1.6.1.5-rc1.tar.gz
#ln -s asterisk-1.6.1.5-rc1 asterisk
#cd asterisk
#./configure && make menuselect --> attention à vérifier que chan_dahdi soit
sélectionné
#make && make install && make samples
#cp /usr/src/asterisk/contrib/init.d/rc.debian.asterisk /etc/init.d/asterisk
#/usr/sbin/update-rc.d asterisk defaults 99 99
#groupadd asterisk
#useradd asterisk -g asterisk
#vim /etc/init.d/asterisk
Décommenter :
AST_USER="asterisk"
AST_GROUP="asterisk"
#vim /etc/asterisk/asterisk.conf
Effacer le (!)
Changer: astrundir => /var/run/asterisk
#mkdir /var/run/asterisk
#chown asterisk /var/run/asterisk/
#chown asterisk /etc/asterisk -R
#chown asterisk /var/lib/asterisk -R
#chmod 777 /var/log/asterisk
#chown asterisk /usr/lib/asterisk/ -R
#chown asterisk /var/spool/asterisk/ -R
#chown asterisk /etc/dahdi -R
#chown asterisk /lib/modules/2.6.26-2-686/dahdi -R
#chown asterisk /usr/share/dahdi
ADDONS
#wget
<http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addo
ns-1.6.2.0-rc1.tar.gz>
http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addon
s-1.6.2.0-rc1.tar.gz [
<http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-addo
ns-1.6.2.0-rc1.tar.gz> ^]
#tar zxfv asterisk-addons-1.6.2.0-rc1.tar.gz
#cd asterisk-addons-1.6.2.0-rc1
#./configure && make menuselect && make && make install && make samples
thank you for help
Cordialement,
BERGANZ François
cid:image001.gif at 01C8F7CD.6BC1D2C0
<http://www.acropolistelecom.net/> http://www.acropolistelecom.net
P Pensez à l'Environnement, n'imprimez ce mail que si nécessaire.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090824/93866e62/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 3150 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090824/93866e62/attachment-0001.gif
More information about the asterisk-users
mailing list