centos7安装freeswitch

yum install -y http://files.freeswitch.org/freeswitch-release-1-6.noarch.rpm epel-release

yum install -y git gcc-c++ autoconf automake libtool wget python ncurses-devel zlib-devel libjpeg-devel openssl-devel e2fsprogs-devel sqlite-devel libcurl-devel pcre-devel speex-devel ldns-devel libedit-devel libxml2-devel libyuv-devel opus-devel libvpx-devel libvpx2* libdb4* libidn-devel unbound-devel libuuid-devel lua-devel libsndfile-devel yasm-devel

cd /usr/local/src/

git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git

cd freeswitch/

./bootstrap.sh -j

./configure

make && make install

出现 libopus 错误


centos7安装freeswitch_第1张图片
出现的错误

解决方法

yum localinstall http://pkgrepo.linuxtech.net/el6/release/x86_64/libopus-devel-1.1-1.el6.x86_64.rpm http://pkgrepo.linuxtech.net/el6/release/x86_64/libopus-1.1-1.el6.x86_64.rpm

最后终于安装成功


centos7安装freeswitch_第2张图片
成功界面

你可能感兴趣的:(centos7安装freeswitch)