FreeSwitch 安装步骤
1. git 下载
git clone https://gitee.com/caas2/freeswitch.git 这个本人 gitee的源, github 有时太慢了。
2. 下载完成后,可以git tag --list 查询最新的tag,然后切换到最新的tag
git checkout v1.8.7
git checkout -b wip_187
3. 编译步骤
cd freeswitch
3.1 ./bootstrap.sh
3.2 ./configure --enable-pic --enable-shared
3.3 make
3.4 make install
注意事项:
在编译过程中如果是出现 You must install libopus-dev to build mod_opus 这种错误的提示,错误原因可能有两种原因
1. 该module并未被安装。
2. pkgconfig 文件未被找到,一般安装在/usr/local/lib/pkgconfig 和 /usr/local/lib64/pkgconfig 中文件,拷贝到 /usr/lib64/pkgconfig中。
原文:https://www.cnblogs.com/damizhou/p/14127406.html