freeswitch / spandsp

SpanDSP is a low-level signal processing library that modulates and demodulates signals commonly used in telephony, such as the "noise" generated by a fax modem or DTMF touchpad.
Other
141 stars 117 forks source link

On debian 11 configure.ac requires autoconf version 2.71 but latest version on current debian 11 is 2.69 #51

Open marcelloc opened 1 year ago

marcelloc commented 1 year ago
cd /usr/src/spandsp/
./autogen.sh
configure.ac:21: error: Autoconf version 2.71 or higher is required

dpkg -l | grep autoconf
ii  autoconf                              2.69-14  

edit configure.ac change AC_PREREQ([2.71])) to 2.69 version save file compile and install

./autogen.sh
./configure
make
make install

Then, rerun install script if you are compiling spandsp on fusionpbx install. cd /usr/src/fusionpbx-install.sh/debian && ./install.sh

markjcrane commented 1 year ago

Thanks for sharing this Marcello. I've also seen this problem on Debian 11 here is a sed command to change it from 2.71 to 2.69

cd /usr/src/spandsp/ sed -i 's/AC_PREREQ([2.71])/AC_PREREQ([2.69])/g' configure.ac

I will add it to the FusionPBX install script. Until the code gets fixed.

palmtown commented 1 year ago

+1

Verified that this changes breaks spandsp compile on Debian 11, there officially referenced Debian version as stated at https://developer.signalwire.com/freeswitch/FreeSWITCH-Explained/Installation/Linux/, "As of the release of FreeSWITCH version 1.10 the reference platform is Debian 11 “Bullseye".