[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gr-iqbal->gr-osmosdr->gqrx missing pkgconfig files break gr-3.8 buil
From: |
Barry Jackson |
Subject: |
Re: gr-iqbal->gr-osmosdr->gqrx missing pkgconfig files break gr-3.8 builds |
Date: |
Wed, 5 Feb 2020 17:39:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.2 |
On 05/02/2020 13:04, Sylvain Munaut wrote:
In gqrx build I am now hitting a fail to find gnuradio from this line in
CMakeLists.txt:
find_package(gnuradio REQUIRED COMPONENTS analog audio blocks digital
filter fft)
Are you sure you're using the latest gqrx code ?!? >
Here I have :
find_package(Gnuradio REQUIRED COMPONENTS analog audio blocks digital
filter fft)
With upper case 'G'.
Yes - sorry I had patched that to lower case as a test but only after
testing and hitting this issue - it was late :\
This is the actual error unpatched:
Could not find a package configuration file provided by "Gnuradio"
with any
of the following names:
GnuradioConfig.cmake
gnuradio-config.cmake
and my gnuradio 3.8 install has GnuradioConfig.cmake installed.
OK fixed that. Because we don't have a gnuradio-devel package I put the
gnuradio cmake files in gnuradio-utils instead - was not important at
the time as they were not used. That error goes away with gnuradio-utils
added to BRs.
Cheers,
Sylvain
So getting a little further but now we have:
-----------------------------
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
fatal: not a git repository (or any of the parent directories): .git
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3")
-- Checking for module 'gnuradio-osmosdr'
-- Package 'gnuradio-osmosdr', required by 'virtual:world', not found
-- Found GNURADIO_OSMOSDR: /lib64/libgnuradio-osmosdr.so
-- Found LOG4CPP: /usr/lib64/liblog4cpp.so
-- Checking for module 'gmp'
-- Found gmp, version 6.2.0
-- Could NOT find GMP (missing: GMPXX_LIBRARY GMP_INCLUDE_DIR)
-- Checking for module 'mpir >= 3.0'
-- Package 'mpir', required by 'virtual:world', not found
-- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY
MPIR_INCLUDE_DIR)
CMake Error at
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find MPLIB (missing: MPLIBXX_LIBRARY MPLIB_LIBRARY
MPLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:393
(_FPHSA_FAILURE_MESSAGE)
/usr/lib64/cmake/gnuradio/FindMPLIB.cmake:26
(find_package_handle_standard_args)
/usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
/usr/lib64/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency)
CMakeLists.txt:114 (find_package)
-- Configuring incomplete, errors occurred!
See also
"/home/baz/rpmbuild/BUILD/gqrx-master/build/CMakeFiles/CMakeOutput.log".
error: Bad exit status from /home/baz/rpmbuild/tmp/rpm-tmp.j5O1Dd (%build)
------------------------------
We do have these installed in the build chroot:
BuildRequires: gmp-devel
BuildRequires: gmpxx-devel
BuildRequires: mpir-devel
BuildRequires: mpirxx-devel
But I don't understand:
-- Found gmp, version 6.2.0
-- Could NOT find GMP
Cheers,
Barry