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. 後面安裝語音文件和運行都沒有碰到錯誤,開心!