1、下载1.8.5源码
2、执行./bootstrap.sh
./bootstrap.sh
3、configure
./configure
不使用 prefix参数默认安装到/usr/local/freeswitch目录下,如果想安装到其他目录,如下:
./configure --prefix=/usr/local/freeswitch2
可能出现的错误:
<1>、no usable zlib; please install zlib devel package or equivalent
yum install zlib-devel -y
<2>、Library requirements (sqlite3 >= 3.6.20) not met;
yum install sqlite-devel -y
<3>、Library requirements (libcurl >= 7.19) not met;
yum install curl-devel -y
<4>、Library requirements (libpcre >= 7.8) not met;
yum install pcre-devel -y
<5>、Library requirements (speex >= 1.2rc1 speexdsp >= 1.2rc1) not