debian
http://www.asteriskguru.com/tutorials/asterisk_installation_compilation_debian.html
下载 libprt asterisk-addon asterisk
/libprt make make install ..ok
/zaptel
1# aptitue bison ncurses zlib1g initrd-tools procps cvs libnewt
2# ./configure make make install
/asterisk
1# aptitude libncurses5-dev
2#
error解决:
http://rblondon.blogspot.com/2007/08/another-asterisk-1411-installation.html
http://www.asteriskguru.com/tutorials/asterisk_installation_compilation_debian.html
/asterisk
./configure
make
make install
/asterisk-addon
1.make
..Package gtk+-2.0 was not found in the pkg-config search path.
2.aptitue find libgtk2.0
在安装完ASTERISK后再安装ADDON.
之后make make install make samples
在CENTOS下.
需要
yum install bison
yum install bison-devel
yum install ncurses
yum install ncurses-devel
yum install zlib
yum install zlib-devel
yum install openssl
yum install openssl-devel
yum install gnutls-devel
yum install gcc
yum install gcc-c++
同时.需要KERNEL-DEVEL 要和本机的KERNEL相对应.
可以YUM UPDATE一下.
然后再安装KERNEL和KERNEL-DEVEL.
REBOOT.
之后就可以按DEBIAN的顺序编译了.