相关的搭建入门教程可以简单看下这边文章
Centos7源代码安装freeswitch和启动freeswitch
我在实践的过程中,发现make命令编译不过去.
过程中提示了 “Neither yasm nor nasm have been found“.也就是依赖没安装
Neither yasm nor nasm have been found
Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.
make: *** [libs/libvpx/Makefile] Error 1
git clone https://github.com/yasm/yasm.git && cd yasm && ./autogen.sh && make && make install
解决方案:
git clone https://github.com/yasm/yasm.git && cd yasm && ./autogen.sh && make && make install
error : Cannot lock pid file /usr/local/freeswitch/run/freeswitch.pid
error : Cannot lock pid file /usr/local/freeswitch/run/freeswitch.pid
解决方案:
1.netstat -npl 查看端口占用情况(pid)
2.使用 kill -9 {pid} 关闭对应的进程
如果没有安装netstat,请执行以下命令
yum install net-tools
Makefile:884: *** You must install libopus-dev to build mod_opus. Stop.
注释以下内容:
vi src/mod/codecs/mod_opus/Makefile
# 注释掉以下内容
#install: error
#all: error
特别注意:
注释掉之后,直接执行make即可(如果执行 make clean & ./configure & make,很抱歉,注释无效)
推荐扩展阅读:
How to install FreeSWITCH in Centos 7?
FreeSWITCH 安装配置的 各种坑, 填坑
1.netstat -npl 查看端口占用情况(pid)
2.使用 kill -9 {pid} 关闭对应的进程
>如果没有安装netstat,请执行以下命令
yum install net-tools
推荐扩展阅读:
[How to install FreeSWITCH in Centos 7?](http://blog.ones-app.com/how-to-install-freeswitch-in-centos-7/)
[FreeSWITCH 安装配置的 各种坑, 填坑](http://www.cnblogs.com/lzpong/p/6740188.html)
网友评论