首页 > 其他分享 >freeswitch 安装常见问题汇总

freeswitch 安装常见问题汇总

时间:2022-09-26 14:44:23浏览次数:49  
标签:常见问题 signalwire make 汇总 freeswitch home root mod

freeswitch 编译过程中可能遇到的问题: 可能遇到的问题及解决方案 1,报错: make[4]: Entering directory '/home/root/code/freeswitch-1.8.5/src/mod/applications/mod_signalwire' Makefile:930: *** You must install libks to build mod_signalwire. Stop. make[4]: Leaving directory '/home/root/code/freeswitch-1.8.5/src/mod/applications/mod_signalwire' Makefile:683: recipe for target 'mod_signalwire-all' failed make[3]: *** [mod_signalwire-all] Error 1 make[3]: Leaving directory '/home/root/code/freeswitch-1.8.5/src/mod' Makefile:591: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/root/code/freeswitch-1.8.5/src' Makefile:3494: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/root/code/freeswitch-1.8.5' Makefile:1255: recipe for target 'all' failed make: *** [all] Error 2

  • 解决步骤如下:
# 下载并编译libks cd /usr/local/src git clone https://github.com/signalwire/libks.git cd libks cmake .  这时很大可能会遇到下面这个问题: 2,报错: -- Checking for module 'uuid' -- No package 'uuid' found CMake Error at /home/root/tools/cmake-3.13.3-Linux-x86_64/share/cmake-3.13/Modules/FindPkgConfig.cmake:452 (message): A required package was not found Call Stack (most recent call first): /home/root/tools/cmake-3.13.3-Linux-x86_64/share/cmake-3.13/Modules/FindPkgConfig.cmake:622 (_pkg_check_modules_internal) cmake/FindUUID.cmake:15 (pkg_check_modules) CMakeLists.txt:294 (include) -- Configuring incomplete, errors occurred! See also "/home/root/code/libks/CMakeFiles/CMakeOutput.log". See also "/home/root/code/libks/CMakeFiles/CMakeError.log".  
  • 解决步骤如下
# 解决方法:下载并编译libuuid源码 wget https://jaist.dl.sourceforge.net/project/libuuid/libuuid-1.0.3.tar.gz tar -zxvf libuuid-1.0.3.tar.gz cd libuuid-1.0.3 ./configure make make install # 重新执行libks的 cmake . #### 问题解决。然后执行libks的 make make install   3,报错: make[4]: Entering directory '/home/root/code/freeswitch-1.8.5/src/mod/applications/mod_signalwire' Makefile:930: *** You must install signalwireto build mod_signalwire. Stop. make[4]: Leaving directory '/home/root/code/freeswitch-1.8.5/src/mod/applications/mod_signalwire' Makefile:683: recipe for target 'mod_signalwire-all' failed make[3]: *** [mod_signalwire-all] Error 1 make[3]: Leaving directory '/home/root/code/freeswitch-1.8.5/src/mod' Makefile:591: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/home/root/code/freeswitch-1.8.5/src' Makefile:3494: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/root/code/freeswitch-1.8.5' Makefile:1255: recipe for target 'all' failed make: *** [all] Error 2
  • 解决方法如下
# 解决方法:下载并编译signalwire-c cd /usr/local/src git clone https://github.com/signalwire/signalwire-c.git cd signalwire-c cmake . make make install 4,这时有可能会出现问题: 报错: CMake Error at CMakeLists.txt:168 (string): string sub-command REPLACE requires at least four arguments. -- Configuring incomplete, errors occurred! See also "/home/root/code/signalwire-c/CMakeFiles/CMakeOutput.log".
  • 解决方法如下
# 阅读CMakeLists.txt,发现出问题的地方是使用git命令生成changelog的。对编译代码无影响。注释掉相关内容: # Get git log info #execute_process(COMMAND ${GIT_EXECUTABLE} log --no-merges --pretty=format:"%n [%an]%n * %s" --since="last month" # OUTPUT_VARIABLE CHANGELOG # WORKING_DIRECTORY . # OUTPUT_STRIP_TRAILING_WHITESPACE) #string(REPLACE """ "" CHANGELOG ${CHANGELOG}) ## Create changelog #file(WRITE changelog.Debian ${CHANGELOG_HEADER} ${CHANGELOG} ${CHANGELOG_FOOTER}) #execute_process(COMMAND ${GZIP_CMD} -f -9 -n changelog.Debian) # Install changelog #install(FILES "${CMAKE_BINARY_DIR}/changelog.Debian.gz" COMPONENT "runtime" DESTINATION "share/doc/${CPACK_DEBIAN_PACKAGE_NAME}") # 在signalwire下重新执行 cmake . make make install   5,报错:
  • 解决方法如下
更换openssl 版本1.1.1 执行命令查看 openssl version
OpenSSL 1.1.1  11 Sep 2018   6,报错 checking for spandsp >= 3.0... configure: error: no usable spandsp; please install spandsp3 devel package or equivalent   checking for sofia-sip-ua >= 1.xx.xx... configure: error: no usable sofia-sip; please install sofia-sip-ua devel package or equivalent  
  • 解决方法如下
安装sofia-sip: git cloen https://github.com/freeswitch/sofia-sip.git 如果网络不太好,git可能下载不下来,可以直接下载sofia-sip的zip压缩包 cd sofia-sip ./bootstrap.sh ./configure make make install   安装spandsp: git clone https://github.com/freeswitch/spandsp 如果网络不太好,git可能下载不下来,可以直接下载spandsp的zip压缩包 cd spandsp ./bootstrap.sh ./configure make make install

标签:常见问题,signalwire,make,汇总,freeswitch,home,root,mod
From: https://www.cnblogs.com/wuchangsoft/p/16730896.html

相关文章

  • .Net 7内容汇总(3)--反射优化
    反射这玩意,一直以来都是慢的代名词。一说XXX系统大量的反射,好多人第一印象就是会慢。但是呢,我们又不得不使用反射来做一些事情,毕竟这玩意可以说啥都能干了对吧。It’simme......
  • Xshell无法连接22端口问题解决办法汇总
    Xshell软件在进行远程连接过程中,会出现端口连接报错的问题,提示:“该IP地址的22端口连接失败”,这是怎么回事?今天小编就xshell软件无法连接22端口的问题,整理相关情形(ubuntu系......
  • Android studio 开发 app 遇到的异常 汇总记录
    Timber请求api返回未注册后往注册页面跳转时,触发了异常:E/ActivityThread:Activitycom.yangdejian.timber.activities.MainActivityhasleakedServiceConnectioncom.y......
  • C# 教程汇总
    更新记录转载请注明出处。2022年9月26日发布。2022年9月23日汇总所有内容。2022年9月10日从笔记迁移到博客。章节链接C#介绍(IntroducingC#)https://......
  • Docker使用问题汇总
    Docker使用问题汇总docker网段冲突因为疫情的原因居家办公,公司的阿里云数据库,通过外网可以访问,但是在容器里面访问不到。后经排查是因为docker容器的网段和公司的网段......
  • K8S系列(四)——常用命令汇总
    【前言】  K8S虽然可以通过dashboard等图形化界面去管理,但是一些常用命令我们还是要记下。为了方便查看,命令按照资源类型的各种操作命令来分类,部分命令可能会存在重复情......
  • MySQL主从复制常见问题及解决方法
    在从节点清除信息前提:停止slave的相关线程:stopslaveRESETSLAVE#从服务器清除master.info,relay-log.info,relaylog,开始新的relaylogRESETSLAVE ALL#清除所......
  • 问题汇总
     BeautifulSoup的高级应用之findfindAllhttps://blog.csdn.net/Winterto1990/article/details/47624167Python在引号内引用变量https://www.cnblogs.com/playbo......
  • 字符串模板汇总
    字符串模板KMP#include<iostream>#include<cstring>#include<cstdio>usingnamespacestd;constintMAXN=1000010;intn,m,next[MAXN];chara[MAXN],b[MAXN]; ......
  • Java面试题汇总
    1、Java基础1.1、ConcurrentHashMap的底层实现,jdk1.7和jdk1.8的区别;1.2、GC的原理,涉及到的算法有哪些,GC调优怎么处理;1.3、ArrayList和LinkedList的区别是什么,底层实现是......