本想编译FreeSWITCH1.10.7,但碰到点问题,后来改1.10.9,相对比较顺利,记录如下:
yum install -y git
yum install -y wget
yum install -y autoconf
yum install -y automake
yum install -y cmake
yum install -y bison
yum install -y openssl-devel
yum install -y curl-devel
yum install -y gdbm-devel
yum install -y gcc-c++
yum install -y gnutls-devel
yum install -y libjpeg-devel
yum install -y libogg-devel
yum install -y libtiff-devel
yum install -y libtool
yum install -y uuid-devel
yum install -y libuuid-devel
yum install -y libxml2-devel
yum install -y ncurses-devel
yum install -y opus-devel
yum install -y pcre-devel
yum install -y pkgconfig
yum install -y postgresql-devel
yum install -y sqlite-devel
yum install -y unixODBC-devel
yum install -y zlib-devel
yum install -y yasm
yum install -y libedit-devel
yum install -y libatomic
yum install -y speex-devel
yum install -y speexdsp-devel
yum install -y libsndfile-devel
yum install -y readline-devel
yum install -y swig patch
波澜不惊,不赘述
同上
https://github.com/signalwire/freeswitch/issues/2248
git clone https://github.com/freeswitch/spandsp.git
cd spandsp/
git checkout 0d2e6ac
sh autogeh.sh && ./bootstrap.sh && ./configure && make && make install
libks.pc在/usr/lib/pkgconfig目录下,sofia-sip.pc和spandsp.pc在/usr/local/lib/pkgconfig目录下,于是有上面的二条命令
- ffmpeg–devel如果源码编译可能是个大工程,同时不容易yum安装,于是决定暂时禁止视频
-
./configure --disable-libyuv --disable-libvpx
- mod_enum不编译,一般用不到
- mod_shout和mod_av 暂时不编译
原文地址:https://blog.csdn.net/qq_56167818/article/details/134718625
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_30486.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。