Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when running ./configure #3

Closed
thomascoding opened this issue Oct 3, 2013 · 4 comments
Closed

Error when running ./configure #3

thomascoding opened this issue Oct 3, 2013 · 4 comments

Comments

@thomascoding
Copy link

root@ubuntu:~/kal-v0.4.1# ./bootstrap
configure.ac:34: installing ./config.guess' configure.ac:34: installing./config.sub'
configure.ac:4: installing ./install-sh' configure.ac:4: installing./missing'
src/Makefile.am: installing ./depcomp' Makefile.am: installing./INSTALL'

root@ubuntu:~/kal-v0.4.1# CXXFLAGS='-W -Wall -O3' ./configure
...
checking for strtoul... yes
checking for strtol... yes
./configure: line 4896: syntax error near unexpected token FFTW3,' ./configure: line 4896:PKG_CHECK_MODULES(FFTW3, fftw3 >= 3.0)'

@thomascoding
Copy link
Author

after installing pkg-config all problems are gone.

@leitao
Copy link

leitao commented Aug 7, 2016

I have the same problem, and installing pkg-config and rerunning 'bootstrap' solves the issue.

@saintofinternet
Copy link

saintofinternet commented May 2, 2017

getting the following error after installing pkg-config....
.....
configure: error: Package requirements (libhackrf) were not met:

No package 'libhackrf' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBHACKRF_CFLAGS
and LIBHACKRF_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

@cslev
Copy link

cslev commented Mar 11, 2022

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



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants