转载自:http://xuliangyong.iteye.com/blog/1773595
1 必须装的工具包
这里直接给出yum命令
引用
yum install git autoconf automake libtool ncurses-devel libjpeg-devel
2 选装的工具包
引用
yum install expat-devel openssl-devel libtiff-devel libX11-devel unixODBC-devel libssl-devel python-devel \
zlib-devel libzrtpcpp-devel alsa-lib-devel libogg-devel libvorbis-devel perl-libs gdbm-devel \
libdb-devel uuid-devel @development-tools
zlib-devel libzrtpcpp-devel alsa-lib-devel libogg-devel libvorbis-devel perl-libs gdbm-devel \
libdb-devel uuid-devel @development-tools
3 下载fs源代码
依次执行如下命令
引用
cd /usr/local/src
git clone git://git.freeswitch.org/freeswitch.git
cd freeswitch
./bootstrap.sh
git clone git://git.freeswitch.org/freeswitch.git
cd freeswitch
./bootstrap.sh
如果要添加模块,需要编辑 modules.conf文件
4 编译fs
引用
./configure
make
make
5 安装fs
引用
make all install cd-sounds-install cd-moh-install
更多参考: http://wiki.freeswitch.org/wiki/Linux_Quick_Install_Guide