没有合适的资源?快使用搜索试试~ 我知道了~
首页centos 6.9 安装freeswitch 1.6.18
centos 6.9 安装freeswitch 1.6.18
4星 · 超过85%的资源 需积分: 50 17 下载量 54 浏览量
更新于2023-05-30
评论
收藏 41KB PDF 举报
centos 6.9安装 freeswitch 1.6.18的文章,里面提供了多个编译问题的解决方案。centos 6.9安装 freeswitch 1.6.18的文章,里面提供了多个编译问题的解决方案。
资源详情
资源评论
资源推荐
centos 6.9 安装freeswitch 1.6.18
先安装依赖包:
yum install git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-
devel speex-devel ldns-devel libedit-devel
#tar zxvf freeswitch-1.6.0.tar.gz
#cd freeswitch-1.6.0
#./configure
#make
make 报错:
make[4]: Entering directory `/usr/local/src/freeswitch-1.6.0/src/mod/applications/mod_fsv'
Makefile:797: *** You must install libyuv-dev to build mod_fsv. Stop.
解决:
(1)下载libyuv源码并编译
cd freeswitch/libs
Git clone https://freeswitch.org/stash/scm/sd/libyuv.git
cd libyuv
make -f Linux.mk CXXFLAGS="-fPIC -O2 -fomit-frame-pointer -Iinclude/"
make install
cp /usr/lib/pkgconfig/libyuv.pc /usr/lib64/pkgconfig/
(如果只是安装libyuv,接下来还会有报错,我把我报错而需要安装的文件统一罗列如下)
(2)下载libvpx源码并编译
cd ..
git clone https://freeswitch.org/stash/scm/sd/libvpx.git
cd libvpx
./configure --enable-pic --disable-static --enable-shared
(如果出现Configuration failed。错误原因为:Neither yasm nor nasm have been found,则参考以下“※”解决该错误.)
make
make install
cp /usr/local/lib/pkgconfig/vpx.pc /usr/lib64/pkgconfig/
(※)下载yasm并编译
yasm是一个汇编编译器,是nasm的升级版
可以直接yum install yasm
或者下载源码包安装
yasm下载地址:http://www.tortall.NET/projects/yasm/releases/
yasm解压命令:tar -zxvf ****.tar.gz
yasm编译安装:① ./configure, ② make, ③make install
yasm安装完毕之后回到第二步重新安装libvpx
(3)下载opus并编译
cd ..
git clone https://freeswitch.org/stash/scm/sd/opus.git
cd opus
./autogen.sh
./configure
make
make install
cp /usr/local/lib/pkgconfig/opus.pc /usr/lib64/pkgconfig
(4)下载libpng并编译
cd ..
git clone https://freeswitch.org/stash/scm/sd/libpng.git
cd libpng
./configure
make
make install
cp /usr/local/lib/pkgconfig/libpng* /usr/lib64/pkgconfig/
下载并安装以上四个依赖文件后,重新执行FreeSWITCH的“./configure”之后,“make && make install”安装FreeSWITCH了
haoweir
- 粉丝: 1
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1