Summary:ASTERISK-21941: menuselect possibly lies about speex dependencies
Reporter:Rusty Newton (rnewton)Labels:
Date Opened:2013-06-21 10:31:10Date Closed:2013-09-18 11:08:01
Versions:Frequency of
Environment:Ubuntu 12.04, SVN Asterisk 1.8 (391778)Attachments:
Speex Coder/Decoder
                                      Depends on: speex(E), speex_preprocess(E)
                                      Can use: speexdsp(E)

                                      Support Level: core

I had the following packages installed:

libspeex-dev - The Speex codec library development files
libspeex1 - The Speex codec runtime library
speex - The Speex codec command line tools

re-ran configure for asterisk 1.8 and menuselect wouldn't allow me to select the speex codec module for compilation.

I installed the following:

libspeexdsp-dev - The Speex extended library development files
libspeexdsp1 - The Speex extended runtime library

re-ran configure and then I was allowed to select the speex codec modules for compilation.

Either speexdsp(E) should be listed under "Depends on:" or the configure script may be messed up.
Comments:By: Kinsey Moore (kmoore) 2013-09-18 09:15:37.776-0500

The issue here appears to be that speexdsp also provides speex_preprocess on Debian-based systems. I'm currently checking into whether this is the case for non-Debian systems.

By: Kinsey Moore (kmoore) 2013-09-18 11:08:01.276-0500

The dependencies as they currently exist are accurate. codec_speex depends on speex_preprocess which used to be part of speex, but was moved to speexdsp. Adding a hard dependency on speexdsp could break older systems.

By: Rusty Newton (rnewton) 2013-09-18 15:45:14.279-0500

Thanks for looking into it!