#cmake uhd3.15 ERROR
#update cmake 3.9.1
root@test:/tmp/uhd/uhd/host/build# cmake -DCMAKE_INSTALL_PREFIX=/usr ../
-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.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
--
-- Configuring the Python interpreter...
-- Python interpreter: /usr/bin/python3.5 Version: 3.5.2
-- Override with: -DPYTHON_EXECUTABLE=<path-to-python>
-- Python runtime interpreter: /usr/bin/python3.5 Version: 3.5.2
-- Override with: -DRUNTIME_PYTHON_EXECUTABLE=<path-to-python>
-- Finding Python Libraries...
-- Could not find Python Libraries.
-- Working off of feature or development branch. Updating version number.
-- Using UHD Images Directory: /usr/share/uhd/images
-- Build type not specified: defaulting to release.
-- Performing Test HAVE_VISIBILITY_HIDDEN
-- Performing Test HAVE_VISIBILITY_HIDDEN - Success
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN
-- Performing Test HAVE_VISIBILITY_INLINES_HIDDEN - Success
--
-- Configuring Boost C++ Libraries...
--
-- Checking for Boost version 1.58 or greater
-- Looking for required Boost components...
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Warning at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:767 (message):
Imported targets not available for Boost version
Call Stack (most recent call first):
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:871 (_Boost_COMPONENT_DEPENDENCIES)
/usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1501 (_Boost_MISSING_DEPENDENCIES)
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
CMake Error at /usr/local/share/cmake-3.9/Modules/FindBoost.cmake:1878 (message):
Unable to find the requested Boost libraries.
Unable to find the Boost header files. Please set BOOST_ROOT to the root
directory containing Boost or BOOST_INCLUDEDIR to the directory containing
Boost's headers.
Call Stack (most recent call first):
cmake/Modules/UHDBoost.cmake:176 (find_package)
CMakeLists.txt:296 (include)
-- Looking for Boost version 1.58 or greater - not found
--
-- Python checking for Python version 3.5 or greater
-- Python checking for Python version 3.5 or greater - found
--
-- Python checking for Mako templates 0.4.2 or greater
-- Python checking for Mako templates 0.4.2 or greater - found
--
-- Python checking for requests 2.0 or greater
-- Python checking for requests 2.0 or greater - found
--
-- Python checking for numpy 1.7 or greater
-- Python checking for numpy 1.7 or greater - "import numpy" failed
--
-- Configuring LibUHD support...
-- Dependency Boost_FOUND = 0
-- Dependency HAVE_PYTHON_PLAT_MIN_VERSION = TRUE
-- Dependency HAVE_PYTHON_MODULE_MAKO = TRUE
CMake Error at cmake/Modules/UHDComponent.cmake:59 (message):
Dependencies for required component LibUHD not met.
Call Stack (most recent call first):
CMakeLists.txt:363 (LIBUHD_REGISTER_COMPONENT)
-- Configuring incomplete, errors occurred!
See also "/tmp/uhd/uhd/host/build/CMakeFiles/CMakeOutput.log".
See also "/tmp/uhd/uhd/host/build/CMakeFiles/CMakeError.log".
root@test:/tmp/uhd/uhd/host/build# apt install LibUHD
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package LibUHD
#install
sudo apt-get install cmake libblkid-dev e2fslibs-dev libboost-all-dev libaudit-dev libuhd-dev libuhd003