华为鲲鹏+银河麒麟V10编译FreeSWITCH1.10.9

# uname -r
4.19.90-17.5.ky10.aarch64

本想编译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
  • 编译libks

波澜不惊,不赘述

  • 编译sofia-sip

同上

  • spandsp有个bug,要看这个工单:

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
  • export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/:$PKG_CONFIG_PATH
  • export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib

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 暂时不编译

其它就没什么值得记录的

  • 8
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值