使用debian jessie上的mod_opus从master分支编译Freeswitch源失败

时间:2016-04-14 15:31:27

标签: freeswitch

使freeswitch master失败,输出低于:

root@wecall:/usr/local/src/freeswitch# apt-cache policy libopus-dev
libopus-dev:
  Installed: 1.1-18~1-jessie+1
  Candidate: 1.1-18~1-jessie+1
  Version table:
 *** 1.1-18~1-jessie+1 0
        500 http://files.freeswitch.org/repo/deb/freeswitch-1.6/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
     1.1-2 0
        500 ftp://mir2.ovh.net/debian/ jessie/main amd64 Packages

如果我理解正确的是要求已安装的libopus-dev。

这是apt-cache输出:

root@wecall:/usr/local/src/freeswitch# dpkg --listfiles libopus-dev
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/opus.pc
/usr/lib/x86_64-linux-gnu/libopus.a
/usr/include
/usr/include/opus
/usr/include/opus/opus_defines.h
/usr/include/opus/opus_types.h
/usr/include/opus/opus_multistream.h
/usr/include/opus/opus.h
/usr/share
/usr/share/doc
/usr/share/doc/libopus-dev
/usr/share/doc/libopus-dev/copyright
/usr/share/doc/libopus-dev/changelog.Debian.gz
/usr/lib/x86_64-linux-gnu/libopus.so

这是安装libopus-dev的地方:

/usr/share/applications/defaults.list

2 个答案:

答案 0 :(得分:0)

安装libopus后,请清理并重新调用脚本./configure。然后再做一次。

威伦

答案 1 :(得分:0)

您需要在源代码中注释以下行,然后重新编译:

vi freeswitch/src/mod/codecs/mod_opus/Makefile
# Comment line 889 & 890
#install: error 
#all: error