Compiling Asterisk 1.8 on Centos 5.5 32/64 bits
本帖最後由 ckleea 於 2010-10-30 16:46 編輯
Just come across
http://astrecipes.net/index.php?n=398
Compile Asterisk 1.8 with iCal, GTalk, SNMP, MySQL, cURL and DAHD
This site describes how to compile in 64 bits linux.
I have modified to 32 bits. Gtalk can now work.
I- yum install gcc-c++ make gnutls-devel kernel-devel
- yum install libxml2-devel ncurses-devel subversion doxygen texinfo
- yum install curl-devel net-snmp-devel neon-devel
- cd /usr/src
- wget http://downloads.asterisk.org/pub/telephony/dahdi-linux-complete/dahdi-linux-complete-2.4.0+2.4.0.tar.gz
- tar zxvf dahdi-linux-complete-2.4.0+2.4.0.tar.gz
- cd dahdi-linux-complete-2.4.0+2.4.0
- make
- make install
- [color=Red]make config[/color] ; missing from site.
- cd ..
- http://downloads.asterisk.org/pub/telephony/libpri/libpri-1.4.12-beta2.tar.gz
- tar zxvf libpri-1.4.12-beta2.tar.gz
- cd libpri-1.4.12-beta2
- make
- make install
- cd ..
- rpm -Uvh http://dl.atrpms.net/all/libiksemel3-1.4-2_2.el5.i386.rpm
- wget http://sourceforge.net/projects/freeassociation/files/libical/libical-0.44/libical-0.44.tar.gz/download
- tar zxvf libical-0.44.tar.gz
- cd libical-0.44
- ./configure --enable-shared
- make
- make install
- cd ..
- wget http://launchpad.net/rubber/trunk/1.1/+download/rubber-1.1.tar.gz
- tar zxvf rubber-1.1.tar.gz
- cd rubber-1.1
- ./configure
- make
- make install
- cd ..
- wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-1.8.0.tar.gz
- tar zxvf asterisk-1.8.0.tar.gz
- cd asterisk-1.8.0
- ./configure
- make menuselect
- make
- #this is ony for format MP3 - SVN required
- contrib/scripts/get_mp3_source.sh
-
- make install
- make samples
- make progdocs
複製代碼 |