steve-m / kalibrate-rtl

fork of http://thre.at/kalibrate/ for use with rtl-sdr devices
BSD 2-Clause "Simplified" License
488 stars 146 forks source link

./configure: line 5064: `PKG_CHECK_MODULES(FFTW3, fftw3 >= 3.0)' #42

Open cslev opened 2 years ago

cslev commented 2 years ago

I still have the issue after following this thread I have all dependencies installed, all fftw3 and libhackrf libs including reinstalling pkg-config afterward.

./configure: line 5064: syntax error near unexpected token `FFTW3,'
./configure: line 5064: `PKG_CHECK_MODULES(FFTW3, fftw3 >= 3.0)'

If I comment these lines in the configure file, then the line considering similar things with LIBHACKRF below results in a similar error. Tried to comment PKG_CHECK_MODULES for LIBHACKRF and compile but eventually, of course, it does not find the libs.

The libs installed on my Debian system:

/usr/include/fftw3-mpi.f03
/usr/include/fftw3-mpi.h
/usr/include/fftw3.f
/usr/include/fftw3.f03
/usr/include/fftw3.h
/usr/include/fftw3l-mpi.f03
/usr/include/fftw3l.f03
/usr/include/fftw3q.f03
/usr/lib/i386-linux-gnu/libfftw3.so.3
/usr/lib/i386-linux-gnu/libfftw3.so.3.5.8
/usr/lib/i386-linux-gnu/libfftw3_omp.so.3
/usr/lib/i386-linux-gnu/libfftw3_omp.so.3.5.8
/usr/lib/i386-linux-gnu/libfftw3_threads.so.3
/usr/lib/i386-linux-gnu/libfftw3_threads.so.3.5.8
/usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindFFTW3f.cmake
/usr/lib/x86_64-linux-gnu/libfftw3.a
/usr/lib/x86_64-linux-gnu/libfftw3.so
/usr/lib/x86_64-linux-gnu/libfftw3.so.3
/usr/lib/x86_64-linux-gnu/libfftw3.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3_mpi.a
/usr/lib/x86_64-linux-gnu/libfftw3_mpi.so
/usr/lib/x86_64-linux-gnu/libfftw3_mpi.so.3
/usr/lib/x86_64-linux-gnu/libfftw3_mpi.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3_omp.a
/usr/lib/x86_64-linux-gnu/libfftw3_omp.so
/usr/lib/x86_64-linux-gnu/libfftw3_omp.so.3
/usr/lib/x86_64-linux-gnu/libfftw3_omp.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3_threads.a
/usr/lib/x86_64-linux-gnu/libfftw3_threads.so
/usr/lib/x86_64-linux-gnu/libfftw3_threads.so.3
/usr/lib/x86_64-linux-gnu/libfftw3_threads.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3f.a
/usr/lib/x86_64-linux-gnu/libfftw3f.so
/usr/lib/x86_64-linux-gnu/libfftw3f.so.3
/usr/lib/x86_64-linux-gnu/libfftw3f.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3f_mpi.a
/usr/lib/x86_64-linux-gnu/libfftw3f_mpi.so
/usr/lib/x86_64-linux-gnu/libfftw3f_mpi.so.3
/usr/lib/x86_64-linux-gnu/libfftw3f_mpi.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3f_omp.a
/usr/lib/x86_64-linux-gnu/libfftw3f_omp.so
/usr/lib/x86_64-linux-gnu/libfftw3f_omp.so.3
/usr/lib/x86_64-linux-gnu/libfftw3f_omp.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3f_threads.a
/usr/lib/x86_64-linux-gnu/libfftw3f_threads.so
/usr/lib/x86_64-linux-gnu/libfftw3f_threads.so.3
/usr/lib/x86_64-linux-gnu/libfftw3f_threads.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3l.a
/usr/lib/x86_64-linux-gnu/libfftw3l.so
/usr/lib/x86_64-linux-gnu/libfftw3l.so.3
/usr/lib/x86_64-linux-gnu/libfftw3l.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3l_mpi.a
/usr/lib/x86_64-linux-gnu/libfftw3l_mpi.so
/usr/lib/x86_64-linux-gnu/libfftw3l_mpi.so.3
/usr/lib/x86_64-linux-gnu/libfftw3l_mpi.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3l_omp.a
/usr/lib/x86_64-linux-gnu/libfftw3l_omp.so
/usr/lib/x86_64-linux-gnu/libfftw3l_omp.so.3
/usr/lib/x86_64-linux-gnu/libfftw3l_omp.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3l_threads.a
/usr/lib/x86_64-linux-gnu/libfftw3l_threads.so
/usr/lib/x86_64-linux-gnu/libfftw3l_threads.so.3
/usr/lib/x86_64-linux-gnu/libfftw3l_threads.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3q.a
/usr/lib/x86_64-linux-gnu/libfftw3q.so
/usr/lib/x86_64-linux-gnu/libfftw3q.so.3
/usr/lib/x86_64-linux-gnu/libfftw3q.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3q_omp.a
/usr/lib/x86_64-linux-gnu/libfftw3q_omp.so
/usr/lib/x86_64-linux-gnu/libfftw3q_omp.so.3
/usr/lib/x86_64-linux-gnu/libfftw3q_omp.so.3.5.8
/usr/lib/x86_64-linux-gnu/libfftw3q_threads.a
/usr/lib/x86_64-linux-gnu/libfftw3q_threads.so
/usr/lib/x86_64-linux-gnu/libfftw3q_threads.so.3
/usr/lib/x86_64-linux-gnu/libfftw3q_threads.so.3.5.8
/usr/lib/x86_64-linux-gnu/pkgconfig/fftw3.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/fftw3f.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/fftw3l.pc
/usr/lib/x86_64-linux-gnu/pkgconfig/fftw3q.pc

For libhackrf:

/usr/include/libhackrf
/usr/include/libhackrf/hackrf.h
/usr/lib/udev/rules.d/60-libhackrf0.rules
/usr/lib/x86_64-linux-gnu/SoapySDR/modules0.7/libHackRFSupport.so
/usr/lib/x86_64-linux-gnu/libhackrf.a
/usr/lib/x86_64-linux-gnu/libhackrf.so
/usr/lib/x86_64-linux-gnu/libhackrf.so.0
/usr/lib/x86_64-linux-gnu/libhackrf.so.0.5.0
/usr/lib/x86_64-linux-gnu/pkgconfig/libhackrf.pc
/usr/local/lib/python3.8/dist-packages/urh.libs/libhackrf-a1897859.so.0.5.0

(irrelevant doc and info files are omitted)

Can someone help with this? Or maybe with how should I adjust the Makefile after removing the lines from configure and trying to set up the libraries manually?

Thanks

raufaser commented 1 year ago

Hey,

you have to install the package pkg-config and then run the ./bootstrap command again before ./configure. As described in the thread you refer to.

To be sure you can just start brand new and clone the repo again.

cslev commented 1 year ago

Hi, thanks for the comment. I am trying to remember how many different things I tried back then...

I remember installing an older OS in a VirtualBox, then using my hackRF from there.

But thanks for the comment, I will probably try hackRF again soon on my up-to-date system and will see whether it works.