- 安装编译工具
略。
- 安装依赖库
apt install apt-file
# apt-file search curl/curl.h
# apt install -y
nasm
libtool
libtool-bin
yasm
libtiff5-dev
libjpeg-dev
libpng-dev
libssl-dev
zlib1g-dev
libpcre3-dev
libcurl4-openssl-dev
libsqlite3-dev
libspeex-dev
libspeexdsp-dev
# libvpx-dev
# postgresql-dev
# freetype-dev
uuid-dev
libpq-dev
libldns-dev
liblua5.3-dev
libopus-dev
libsndfile-dev
- 编译必须的
x264-stable
SDL2
ffmpeg
spandsp
这些是必须的。
- 编译freeswitch
sudo make all install cd-sounds-install cd-moh-install