web-dev-qa-db-ja.com

Ubuntuでのfreeswitchビルド用のspeexパッケージはありません

Ubuntuでfreeswitchをビルドしようとしていますが、多数のライブラリが存在しません。それらの1つはspeexです。 configureは不在であると言いますが、dpkgはここにいると言います:

checking for speex >= 1.2rc1 speexdsp >= 1.2rc1... Package speex was not found in the pkg-config search path. Perhaps you should add the directory containing `speex.pc' to the PKG_CONFIG_PATH environment variable No package 'speex' found Package speexdsp was not found in the pkg-config search path. Perhaps you should add the directory containing `speexdsp.pc' to the PKG_CONFIG_PATH environment variable No package 'speexdsp' found
configure: error: Library requirements (speex >= 1.2rc1 speexdsp >= 1.2rc1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
dims@nebula2:~/src/freeswitch$ dpkg -l *speex*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                             Version                          Description
+++-================================-================================-================================================================================
ii  libspeex1                        1.2~rc1-3ubuntu2                 The Speex codec runtime library
ii  libspeexdsp1                     1.2~rc1-3ubuntu2                 The Speex extended runtime library
ii  speex                            1.2~rc1-3ubuntu2                 The Speex codec command line tools

どうして?そして、どのように修正しますか?

4
Dims

libspeex-devをインストールする必要があります

Sudo apt-get install libspeex-dev

したがって、以下の結果があります:

saman@jack:~$ dpkg -l *speex*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  libspeex-dev:a 1.2~rc1.1-1u AMD64        The Speex codec library developme
ii  libspeex1:AMD6 1.2~rc1.1-1u AMD64        The Speex codec runtime library
ii  libspeexdsp1:a 1.2~rc1.1-1u AMD64        The Speex extended runtime librar
un  speex          <none>       <none>       (no description available)
7
sparkmood

libspeexdsp-devパッケージ(libspeex-devに依存)をインストールする必要がある場合もあります。

Sudo apt-get install libspeexdsp-dev
7
ptkfs