xiph / speexdsp

Speex audio processing library - THIS IS A MIRROR, DEVELOPMENT HAPPENS AT https://gitlab.xiph.org/xiph/speexdsp
https://speex.org
Other
469 stars 190 forks source link

Error at ./configure step #31

Closed TranBaNgoc closed 3 years ago

TranBaNgoc commented 4 years ago

Hello every one! I get an error at this step, it's: ./configure: line 10227: syntax error near unexpected token FFT,' ./configure: line 10227: PKG_CHECK_MODULES(FFT, fftw3f)' Help me, please!

StuartIanNaylor commented 4 years ago
./configure: line 10227: syntax error near unexpected token `FFT,'
./configure: line 10227: `  PKG_CHECK_MODULES(FFT, fftw3f)'

Same preinstalled speex, speexdsp and dev libs and every fft3w lib I could find. On Raspbian 32bit it installs but Aaarch64 always get the above error on ./configure

rillian commented 4 years ago

This sounds like the PKG_CHECK_MODULES macro wasn't expanded properly. It's defined in /usr/share/aclocal/pkg.m4. Do you have pkg-configinstalled on your system?

StuartIanNaylor commented 4 years ago

Many thanks you got it.

So sudo apt-get install autotools-dev autoconf libtool pkg-config Don't --enable-neon

Then you are ready to roll :)

You don't seem to be able to optimise the compiler settings as my usual. export CFLAGS="-mcpu=cortex-a53 -mfloat-abi=hard -mfpu=neon-fp-armv8 -mneon-for-64bits" Causes errors. Its not problem as CFLAGS="" but just curious to why it is so?

Also I have been using as it works great https://github.com/voice-engine/ec

But alsaplugins Speex echo seems a complete audio mess have said on the alsa mailing but no response. Anyone no why the speex alsa 'echo' plugin doesn't seem to work?

StuartIanNaylor commented 4 years ago

@rillian Apols as I willingly admit I know little about compiling and often get stuck :)

Your indo solved the previous problems and wondering if you could just give a little bit more info on the gpl_fftw option. What linker options do you need to specify if using gpl-options?

Really would like to try just to see if there is any optimisation benefit tried a few guesses but so far failed as getting errors from the speexdsp lib that the fftw linkers are unknown?

zh794390558 commented 3 years ago

install pkg-config

tmatth commented 3 years ago

Closing since the issue was that @TranBaNgoc was missing pkg-config. For reference we do have CI running defined here: https://gitlab.xiph.org/xiph/speexdsp/-/blob/master/.gitlab-ci.yml

This is run for every commit.