PerKins Zhu

Le vent se lève,il faut tenter de vivre.
随笔 - 86, 文章 - 0, 评论 - 45, 阅读 - 21万

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

debian11 freeswitch 编译安装步骤

Posted on   PerKins.Zhu  阅读(601)  评论(0编辑  收藏  举报
复制代码
建议在 Debian 系统中安装
# 安装依赖
apt install -y gnupg2 wget autoconf lsb-release libtool libtool-bin libtiff-dev uuid-dev pkg-config openssl libssl-dev sqlite3 libsqlite3-dev libcurl4-openssl-dev libspeexdsp-dev libldns-dev libedit-dev yasm nasm ffmpeg libswscale-dev libavformat-dev lua5.4 liblua5.4-dev libopus-dev libpq-dev libmariadb-dev unixodbc unixodbc-dev libsndfile1-dev git clone https://github.com/freeswitch/sofia-sip.git cd sofia-sip ./bootstrap.sh -j ./configure make make install ldconfig cd /usr/local/src yum install libatomic git clone https://github.com/signalwire/libks.git cd libks cmake . make make install git clone https://github.com/freeswitch/spandsp.git cd spandsp/ git reset --hard 67d2455efe02e7ff0d897f3fd5636fed4d54549e #使用该提交版本,可以避免bug ./bootstrap.sh ./configure make make install export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH} echo "export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}" >> /etc/profile source /etc/profile ldconfig
# 在 make freeswitch 的时候如果提示找不到/private/v80.h ,则手动把 src/spandsp/private/v80.h 复制到/usr/local/...中 git clone https:
//github.com/signalwire/freeswitch.git -bv1.10 freeswitch cd freeswitch ./bootstrap.sh -j # 预编译 ./configure --prefix=/usr/local/freeswitch # 编译。如果是多核处理器,比如4核,可以用make -j4,能加快编译速度 # 编译时可以编辑modules.conf,取消编译mod_signalwire、mod_opus make make install
复制代码

 

相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 展开说说关于C#中ORM框架的用法!
历史上的今天:
2017-09-22 多线程(八)常用的线程模型
点击右上角即可分享
微信分享提示