Hi all, Hope you are staying safe and well. I wanted to email with a quick question -- I am trying to install the gr-osmosdr module and am having some difficulty. I followed the standard install instructions (here: https://github.com/igorauad/gr-osmosdr/tree/gr3.8) but when I tried to run "cmake .." in the build directory, the installation failed with the error message attached here as a text file. It looks to me like maybe there are some other packages I need to install, but if so, I'm a little curious why that wasn't mentioned in the installation instructions (not trying to criticize the instructions at all, just want to make sure I don't have some unique kind of problem going on).
My GNU Radio version is 3.8.1.0, and I'm running it on Ubuntu version 18.04.4. Happy to provide any additional details if needed. Thanks so much for your time, and for any advice you might have! Take care, Ellie -- Ellie White Co-Director, Open Source Radio Telescopes Student at Marshall University 304-654-9381 www.catseyeenterprises.net
ellie:build$ cmake ../ -- The CXX compiler identification is GNU 7.5.0 -- The C compiler identification is GNU 7.5.0 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ - works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Build type not specified: defaulting to release. -- Found Git: /usr/bin/git (found version "2.17.1") -- Extracting version information from git describe... -- Configuring Boost C++ Libraries... -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found Boost: /usr/include (found version "1.65.1") found components: thread system chrono date_time atomic -- Found LOG4CPP: /usr/lib/x86_64-linux-gnu/liblog4cpp.so CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (GMP). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindGMP.cmake:1 (include) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindMPLIB.cmake:1 (find_package) /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency) CMakeLists.txt:154 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'gmp' -- No package 'gmp' found -- Found GMP: /usr/lib/x86_64-linux-gnu/libgmpxx.so CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (MPIR). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindMPIR.cmake:1 (include) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindMPLIB.cmake:2 (find_package) /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:26 (find_dependency) CMakeLists.txt:154 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'mpir >= 3.0' -- No package 'mpir' found -- Could NOT find MPIR (missing: MPIRXX_LIBRARY MPIR_LIBRARY MPIR_INCLUDE_DIR) -- Found MPLIB: /usr/lib/x86_64-linux-gnu/libgmpxx.so -- Found Boost: /usr/include (found suitable version "1.65.1", minimum required is "1.65.1") found components: date_time program_options filesystem system regex thread unit_test_framework chrono atomic CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (VOLK) does not match the name of the calling package (Volk). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/local/lib/cmake/volk/VolkConfig.cmake:32 (find_package_handle_standard_args) /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/CMakeFindDependencyMacro.cmake:47 (find_package) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:46 (find_dependency) CMakeLists.txt:154 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found VOLK: Volk::volk CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake:48 (if): if given arguments: "ON" An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:154 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) in /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake: Policy CMP0011 is not set: Included scripts do automatic cmake_policy PUSH and POP. Run "cmake --help-policy CMP0011" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The included script /usr/lib/x86_64-linux-gnu/cmake/gnuradio/GnuradioConfig.cmake affects policy settings. CMake is implying the NO_POLICY_SCOPE option for compatibility, so the effects are applied to the including context. Call Stack (most recent call first): CMakeLists.txt:154 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (GnuradioIQBalance). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) cmake/Modules/FindGnuradioIQBalance.cmake:1 (INCLUDE) CMakeLists.txt:159 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'gnuradio-iqbalance' -- No package 'gnuradio-iqbalance' found CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (GNURADIO_IQBALANCE) does not match the name of the calling package (GnuradioIQBalance). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindGnuradioIQBalance.cmake:28 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:159 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find GNURADIO_IQBALANCE (missing: GNURADIO_IQBALANCE_LIBRARIES GNURADIO_IQBALANCE_INCLUDE_DIRS) CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (UHD). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) /usr/lib/x86_64-linux-gnu/cmake/gnuradio/FindUHD.cmake:56 (include) CMakeLists.txt:160 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'uhd' -- No package 'uhd' found CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (GnuradioUHD). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) cmake/Modules/FindGnuradioUHD.cmake:1 (INCLUDE) CMakeLists.txt:161 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'gnuradio-uhd' -- Found gnuradio-uhd, version 3.8.1 -- Found gnuradio-uhd: /usr/include, /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (GNURADIO_UHD) does not match the name of the calling package (GnuradioUHD). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindGnuradioUHD.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:161 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found GNURADIO_UHD: /usr/lib/x86_64-linux-gnu/libgnuradio-uhd.so CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (GnuradioFCD). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) cmake/Modules/FindGnuradioFCD.cmake:1 (INCLUDE) CMakeLists.txt:162 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'gnuradio-fcd' -- No package 'gnuradio-fcd' found -- gnuradio-fcd not found. CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (GNURADIO_FCD) does not match the name of the calling package (GnuradioFCD). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindGnuradioFCD.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:162 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find GNURADIO_FCD (missing: GNURADIO_FCD_LIBRARIES GNURADIO_FCD_INCLUDE_DIRS) CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (GnuradioFCDPP). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) cmake/Modules/FindGnuradioFCDPP.cmake:1 (INCLUDE) CMakeLists.txt:163 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'gnuradio-fcdproplus' -- No package 'gnuradio-fcdproplus' found -- gnuradio-fcdproplus not found. CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (GNURADIO_FCDPP) does not match the name of the calling package (GnuradioFCDPP). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindGnuradioFCDPP.cmake:33 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:163 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find GNURADIO_FCDPP (missing: GNURADIO_FCDPP_LIBRARIES GNURADIO_FCDPP_INCLUDE_DIRS) -- Checking for module 'libosmosdr' -- No package 'libosmosdr' found -- libosmosdr not found. -- Checking for module 'librtlsdr' -- No package 'librtlsdr' found -- librtlsdr not found. -- Checking for module 'libmirisdr' -- No package 'libmirisdr' found -- libmirisdr not found. CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (LibHackRF). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) cmake/Modules/FindLibHackRF.cmake:1 (INCLUDE) CMakeLists.txt:170 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'libhackrf' -- No package 'libhackrf' found CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (LIBHACKRF) does not match the name of the calling package (LibHackRF). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibHackRF.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:170 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find LIBHACKRF (missing: LIBHACKRF_LIBRARIES LIBHACKRF_INCLUDE_DIRS) CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (PkgConfig) does not match the name of the calling package (LibAIRSPY). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPkgConfig.cmake:45 (find_package_handle_standard_args) cmake/Modules/FindLibAIRSPY.cmake:1 (INCLUDE) CMakeLists.txt:171 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'libairspy' -- No package 'libairspy' found CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (LIBAIRSPY) does not match the name of the calling package (LibAIRSPY). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/Modules/FindLibAIRSPY.cmake:23 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:171 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find LIBAIRSPY (missing: LIBAIRSPY_LIBRARIES LIBAIRSPY_INCLUDE_DIRS) CMake Warning (dev) at /home/ellie/anaconda2/lib/python2.7/site-packages/cmake/data/share/cmake-3.17/Modules/FindPackageHandleStandardArgs.cmake:272 (message): The package name passed to `find_package_handle_standard_args` (VOLK) does not match the name of the calling package (Volk). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): /usr/local/lib/cmake/volk/VolkConfig.cmake:32 (find_package_handle_standard_args) CMakeLists.txt:172 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Checking for module 'libbladeRF' -- No package 'libbladeRF' found -- libbladeRF not found. -- Could NOT find SoapySDR (missing: SoapySDR_DIR) -- Checking for module 'libfreesrp' -- No package 'libfreesrp' found -- libfreesrp not found. -- Found Doxygen: /usr/bin/doxygen (found version "1.8.13") found components: doxygen missing components: dot CMake Error at CMakeLists.txt:179 (message): GnuRadio Runtime required to build gr-osmosdr -- Configuring incomplete, errors occurred! See also "/home/ellie/gnuradio/gr-osmosdr/build/CMakeFiles/CMakeOutput.log". See also "/home/ellie/gnuradio/gr-osmosdr/build/CMakeFiles/CMakeError.log".