-
Notifications
You must be signed in to change notification settings - Fork 152
Closed
Labels
Description
Trying to build innoextract with boost 1.70.0 & cmake 3.14.4 results in the error message No suitable boost_iostreams variant has been identified!
Tried version 1.7 as well as current master (38ae68f), both fail with the same error.
cmake command:
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_DATADIR=share -DCMAKE_INSTALL_DOCDIR=share/doc -DCMAKE_INSTALL_INCLUDEDIR=include -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_INSTALL_MANDIR=share/man -DCMAKE_PREFIX_PATH=share/apps/cmake/modules -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_C_FLAGS_RELEASE="-march=core2 -fPIC -DPIC -pipe -O3" -DCMAKE_CXX_FLAGS_RELEASE="-march=core2 -fPIC -DPIC -pipe -O3" -DBoost_DEBUG=ON ..
Relevant error messages:
-- Found Boost 1.70.0 at /usr/lib/cmake/Boost-1.70.0
-- Requested configuration: QUIET REQUIRED COMPONENTS iostreams;filesystem;date_time;system;program_options
-- BoostConfig: find_package(boost_headers 1.70.0 EXACT CONFIG REQUIRED QUIET HINTS /usr/lib/cmake)
-- Found boost_headers 1.70.0 at /usr/lib/cmake/boost_headers-1.70.0
-- BoostConfig: find_package(boost_iostreams 1.70.0 EXACT CONFIG REQUIRED QUIET HINTS /usr/lib/cmake)
-- Found boost_iostreams 1.70.0 at /usr/lib/cmake/boost_iostreams-1.70.0
-- Boost toolset is gcc9 (GNU 9.1.0)
-- Scanning /usr/lib/cmake/boost_iostreams-1.70.0/libboost_iostreams-variant*.cmake
-- Including /usr/lib/cmake/boost_iostreams-1.70.0/libboost_iostreams-variant-shared.cmake
-- ... skipped libboost_iostreams.so.1.70.0 (shared, BUILD_SHARED_LIBS not ON, set Boost_USE_STATIC_LIBS=OFF to override)
-- No suitable boost_iostreams variant has been identified!
CMake Error at /usr/lib/cmake/Boost-1.70.0/BoostConfig.cmake:95 (find_package):
Found package configuration file:
/usr/lib/cmake/boost_iostreams-1.70.0/boost_iostreams-config.cmake
but it set boost_iostreams_FOUND to FALSE so package "boost_iostreams" is
considered to be NOT FOUND. Reason given by package:
No suitable build variant has been found.
Call Stack (most recent call first):
/usr/lib/cmake/Boost-1.70.0/BoostConfig.cmake:124 (boost_find_dependency)
/usr/share/cmake/Modules/FindBoost.cmake:266 (find_package)
CMakeLists.txt:138 (find_package)