Não há pacotes speex para construção de freeswitch no Ubuntu

2

Eu estou tentando construir freeswitch no Ubuntu e ter várias bibliotecas ausentes. Um deles é speex . configure diz que está ausente, enquanto dpkg diz que está aqui:

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

por quê? e como consertar?

    
por Dims 04.07.2014 / 01:34

2 respostas

4

Você precisa instalar o libspeex-dev

sudo apt-get install libspeex-dev

Então, você terá o resultado abaixo:

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)
    
por sparkmood 04.07.2014 / 01:39
5

Você também pode precisar instalar o pacote libspeexdsp-dev (que depende de libspeex-dev ):

sudo apt-get install libspeexdsp-dev
    
por ptkfs 08.07.2014 / 23:39