#编译FreeSWITCH时,报错 spandsp >= 3.0… configure: error: no usable spandsp; please install spandsp3 devel package or equivalent
步骤:
1、安装sofia-sip
cd /usr/local/src/freeswitch-1.10.5.-release
git clone https://github.com/freeswitch/sofia-sip.git
cd sofia-sip
./configure
make
make install
ldconfig
2、安装spandsp
cd /usr/local/src/freeswitch-1.10.5.-release
git clone https://github.com/freeswitch/spandsp.git
cd spandsp
./configure
make
make install
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:${PKG_CONFIG_PATH}
ldconfig
3、重新编译FreeSWITCH
cd /usr/local/src/freeswitch-1.10.5.-release
./configure --disable-signalwire
make
make install
ln -sf /usr/local/freeswitch/bin/freeswitch /usr/local/bin/
ln -sf /usr/local/freeswitch/bin/fs_cli /usr/local/bin/
因篇幅问题不能全部显示,请点此查看更多更全内容