#>apt-get -y install build-essential automake autoconf git-core wget libtool
#>apt-get -y install libncurses5-dev libtiff-dev libjpeg-dev zlib1g-dev libssl-dev libsqlite3-dev
#>apt-get -y install libpcre3-dev libspeexdsp-dev libspeex-dev libcurl4-openssl-dev libopus-dev
#>git clone https://github.com/signalwire/freeswitch.git
#>cd freeswitch
#>git checkout -b v 1.10.2
#>./bootstrap.sh
如果出下如下错误,
bootstrap: libtool not found.
You need libtool version 1.5.14 or newer to build FreeSWITCH from source.
在ubuntu只有libtoolize,修改bootstrap.sh,
libtool=${LIBTOOL:-`${LIBDIR}/apr/build/PrintPath glibtool libtool libtool22 libtool15 libtool14 libtoolize`}
#>./configure
#>make install
#>apt-get install pkg-config
#>apt-get install libldns-dev
#>apt-get install libedit-dev
#>cd /opt/
#>git clone https://github.com/yasm/yasm.git && cd yasm && ./autogen.sh && make && sudo make install
#>apt-get install libsndfile-dev
#>apt-get install yasm libvpx. libx264. libx264-dev
#>git clone https://freeswitch.org/stash/scm/sd/libav.git
#>cd libav
#>./configure --enable-shared --enable-libx264 --enable-gpl
#>make
#>make install
#>apt-get install libavformat-dev
#>apt-get install lua5.3 liblua5.3-dev
#>cp /usr/include/lua5.3/*.h src/mod/languages/mod_lua/
将so文件做个链接
#>sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.3.so /usr/lib/x86_64-linux-gnu/liblua.so
#>apt-get install libpq-dev
下载cmake-3.16.4.tar.gz包
#>tar -xzvf cmake-3.16.4.tar.gz
#>cd cmake-3.16.4
#>./configure
#>make && make install
#>cp bin/cmake /usr/bin/
#>cmake --version
下载并编译libuuid源码
https://jaist.dl.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz
#>cd /opt
#>git clone https://github.com/signalwire/libks.git
#>apt-get install cmake
#>cmake
#>make
#>make install
#>./configure
#>make install
安装成功后,执行#>./freeswitch,查看占用了5060端口,即可。
https://download.csdn.net/download/penker_zhao/12177679 这里可以下载
FreeSWITCH折腾笔记
https://blog.51cto.com/908405
-bash: /usr/bin/cmake: No such file or directory错误
https://blog.csdn.net/kongkongqixi/article/details/88657508
-bash: /usr/bin/cmake: No such file or directory错误
https://blog.csdn.net/kongkongqixi/article/details/88657508
CMake 3.8 or higher is required
https://blog.csdn.net/qq_23958451/article/details/100526699
Centos7 下安装freeswitch 1.8.5及遇到的问题
https://www.cnblogs.com/Lewis302/p/10466936.html
ubuntu16 下安装freeswitch 1.8.3
https://msd.misuland.com/pd/3255817928875971370
Ubuntu下freeSwitch安裝指导
https://www.jianshu.com/p/3400fdd29fb5
CMake和libuuid下载地址
https://cmake.org/download/
https://sourceforge.net/projects/libuuid/
Ubuntu16.04 源码编译安装freeswitch
https://www.dazhuanlan.com/2019/09/27/5d8e16e5e2956/
ubuntu freeswitch 安装
https://blog.csdn.net/loverson/article/details/85158840