1. git clone -b 1.6 https://stash.freeswitch.org/scm/fs/freeswitch.git
2. 运行./bootstrap, 报错:
bootstrap: libtool not found.
You need libtool version 1.5.14 or newer to build FreeSWITCH from source.
发现在UBUNTU下必须安装libtool-bin:sudo apt-get install libtool-bin
再次运行./bootstrap,成功了!
3.运行 ./configure
有报错,安装错误提示安装相应的包后继续直到全部成功。
4 运行 make install
报错1: Neither yasm nor nasm have been found
sudo apt-get install yasm 搞定。
报错2:关于lua的错误,参考 https://www.jianshu.com/p/3400fdd29fb5 搞定! 感谢!
5. 后面安装语音文件和运行都没有碰到错误,开心!