switch注册服务器,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)

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值