WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads)
Added by herve chateau over 4 years ago
hello,
i'm french and new to FreeBSD 12.
i'm trying to install Wt on FreeBSD12 from wt-4.1.0.tar.gz according to instructions seen on https://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_FreeBSD
all is ok until i run 'cmake ..' which gives me a 'pthread' error.
how can i fix it ???
Thanks
see all command lines below:
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/icu-62.1_2,1.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/boost-libs-1.68.0_1.txz
Message from boost-libs-1.70.0_2:
You have built the Boost library with thread support.
Don't forget to add -pthread to your linker options when
linking your code.
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/rhash-1.3.5.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/libuv-1.23.1.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/libarchive-3.3.2_1,1.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/jsoncpp-1.8.1_4.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/cmake-3.12.2.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/mpfr-4.0.1.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/mpc-1.1.0_1.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/binutils-2.30_5,1.txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/gcc7-7.3.0_5txz
pkg add http://pkg.freebsd.org/FreeBSD:12:amd64/release_0/All/gcc-7_1.txz
fetch http://172.16.230.1/wt-4.1.0.tar.gz
tar xzf wt-4.1.0.tar.gz
cd wt-4.1.0
mkdir build
cd build (ALL is OK until this line)
cmake .. (giving ERRORS)
[2.5.0-DEVELOPMENT]admin@pfSense.localdomain/root/wt-4.1.1/build: cmake ..
--- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
--- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
--- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1219 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1221 ] Boost_USE_MULTITHREADED = ON
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1223 ] Boost_USE_STATIC_LIBS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1225 ] Boost_USE_STATIC_RUNTIME =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1227 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1229 ] Boost_NO_SYSTEM_PATHS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1297 ] Declared as CMake or Environmental Variables:
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1299 ] BOOST_ROOT = /usr
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1301 ] BOOST_INCLUDEDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1303 ] BOOST_LIBRARYDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1305 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1404 ] location of version.hpp: /usr/local/include/boost/version.hpp
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1429 ] version.hpp reveals boost 1.68.0
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1485 ] Boost_LIB_PREFIX =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1487 ] Boost_NAMESPACE = boost
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1522 ] guessed _boost_COMPILER = -gcc73
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1532 ] _boost_MULTITHREADED = -mt
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1616 ] _boost_RELEASE_ABI_TAG = -
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] _boost_DEBUG_ABI_TAG = -d
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc73-mt-1_68;boost_system-gcc73-mt;boost_system-gcc73-mt;boost_system-mt-1_68;boost_system-mt;boost_system-mt;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc73-mt-d-1_68;boost_system-gcc73-mt-d;boost_system-gcc73-mt-d;boost_system-mt-d-1_68;boost_system-mt-d;boost_system-mt-d;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:2006 ] Boost_FOUND = 1
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1219 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1221 ] Boost_USE_MULTITHREADED = ON
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1223 ] Boost_USE_STATIC_LIBS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1225 ] Boost_USE_STATIC_RUNTIME =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1227 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1229 ] Boost_NO_SYSTEM_PATHS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1297 ] Declared as CMake or Environmental Variables:
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1299 ] BOOST_ROOT = /usr
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1301 ] BOOST_INCLUDEDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1303 ] BOOST_LIBRARYDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1305 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1404 ] location of version.hpp: /usr/local/include/boost/version.hpp
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1429 ] version.hpp reveals boost 1.68.0
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1485 ] Boost_LIB_PREFIX =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1487 ] Boost_NAMESPACE = boost
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1522 ] guessed _boost_COMPILER = -gcc73
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1532 ] _boost_MULTITHREADED = -mt
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1616 ] _boost_RELEASE_ABI_TAG = -
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] _boost_DEBUG_ABI_TAG = -d
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- Could NOT find Threads (missing: Threads_FOUND)
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc73-mt-1_68;boost_program_options-gcc73-mt;boost_program_options-gcc73-mt;boost_program_options-mt-1_68;boost_program_options-mt;boost_program_options-mt;boost_program_options-mt;boost_program_options
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc73-mt-d-1_68;boost_program_options-gcc73-mt-d;boost_program_options-gcc73-mt-d;boost_program_options-mt-d-1_68;boost_program_options-mt-d;boost_program_options-mt-d;boost_program_options-mt;boost_program_options
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc73-mt-1_68;boost_filesystem-gcc73-mt;boost_filesystem-gcc73-mt;boost_filesystem-mt-1_68;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc73-mt-d-1_68;boost_filesystem-gcc73-mt-d;boost_filesystem-gcc73-mt-d;boost_filesystem-mt-d-1_68;boost_filesystem-mt-d;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc73-mt-1_68;boost_thread-gcc73-mt;boost_thread-gcc73-mt;boost_thread-mt-1_68;boost_thread-mt;boost_thread-mt;boost_thread-mt;boost_thread
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc73-mt-d-1_68;boost_thread-gcc73-mt-d;boost_thread-gcc73-mt-d;boost_thread-mt-d-1_68;boost_thread-mt-d;boost_thread-mt-d;boost_thread-mt;boost_thread
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc73-mt-1_68;boost_system-gcc73-mt;boost_system-gcc73-mt;boost_system-mt-1_68;boost_system-mt;boost_system-mt;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc73-mt-d-1_68;boost_system-gcc73-mt-d;boost_system-gcc73-mt-d;boost_system-mt-d-1_68;boost_system-mt-d;boost_system-mt-d;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc73-mt-1_68;boost_chrono-gcc73-mt;boost_chrono-gcc73-mt;boost_chrono-mt-1_68;boost_chrono-mt;boost_chrono-mt;boost_chrono-mt;boost_chrono
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc73-mt-d-1_68;boost_chrono-gcc73-mt-d;boost_chrono-gcc73-mt-d;boost_chrono-mt-d-1_68;boost_chrono-mt-d;boost_chrono-mt-d;boost_chrono-mt;boost_chrono
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc73-mt-1_68;boost_date_time-gcc73-mt;boost_date_time-gcc73-mt;boost_date_time-mt-1_68;boost_date_time-mt;boost_date_time-mt;boost_date_time-mt;boost_date_time
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc73-mt-d-1_68;boost_date_time-gcc73-mt-d;boost_date_time-gcc73-mt-d;boost_date_time-mt-d-1_68;boost_date_time-mt-d;boost_date_time-mt-d;boost_date_time-mt;boost_date_time
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for ATOMIC_LIBRARY_RELEASE: boost_atomic-gcc73-mt-1_68;boost_atomic-gcc73-mt;boost_atomic-gcc73-mt;boost_atomic-mt-1_68;boost_atomic-mt;boost_atomic-mt;boost_atomic-mt;boost_atomic
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for ATOMIC_LIBRARY_DEBUG: boost_atomic-gcc73-mt-d-1_68;boost_atomic-gcc73-mt-d;boost_atomic-gcc73-mt-d;boost_atomic-mt-d-1_68;boost_atomic-mt-d;boost_atomic-mt-d;boost_atomic-mt;boost_atomic
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:2006 ] Boost_FOUND = 1
CMake Error at /usr/local/share/cmake/Modules/FindBoost.cmake:2170 (message):
Unable to find the requested Boost libraries.
Boost version: 1.68.0
Boost include path: /usr/local/include
Could not find the following Boost libraries:
boost_thread (missing dependency: Threads)
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
CMakeLists.txt:267 (INCLUDE)
--- libharu libraries not found - set HARU_PREFIX
--- OpenGL libraries not found
Error message= NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
URL= XStringBundle
Line Number= 21
--- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
--- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
Error message= NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
URL= XStringBundle
Line Number= 21
Error message= NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
URL= XStringBundle
Line Number= 21
Error message= NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
URL= XStringBundle
Line Number= 21
--- Found unsuitable Qt version "" from NOTFOUND
CMake Warning at CMakeLists.txt:300 (FIND_PACKAGE):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at CMakeLists.txt:330 (MESSAGE):
Could not find a boost installation in /usr.
There are two methods in Wt to find boost:
- Find boost through cmake (recommended)
This requires cmake 2.6, and is in that case the default (unless
BOOST_COMPILER or BOOST_VERSION is defined). This method requires a
multi-threaded boost installation.
You may need to add your boost version number to Boost_ADDITIONAL_VERSIONS,
and/or set BOOST_PREFIX to the location where boost is installed. - Use the Wt-proprietary method to find boost.
This requires you to define three variables:
BOOST_PREFIX: set to the directory where you installed boost
BOOST_COMPILER: set to the compiler signature as you find them in library
names (e.g.: gcc42)
BOOST_VERSION: set to the boost version, again as you find them in the
library names (e.g.: 1_38)
Note 1: the code to discover boost is located in cmake/WtFindBoost.txt
Note 2: on windows, set BOOST_PREFIX to the full path, eg c:/Program
Files/boost/boost_1_65_1
--- Configuring incomplete, errors occurred!
See also "/root/wt-4.1.1/build/CMakeFiles/CMakeOutput.log".
See also "/root/wt-4.1.1/build/CMakeFiles/CMakeError.log".
Replies (10)
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by Roel Standaert over 4 years ago
I find it very strange that first of all you're installing Boost 1.68, and then there's a message from 1.70?
It seems to me you have a rather unusual system. On normal FreeBSD 12 there are no issues. I can see that in /usr/lib there is libpthread.so
, which is a symlink to libthr.so
.
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by Roel Standaert over 4 years ago
I also find it odd that you're trying to install Wt 4.1.0 and not 4.1.1, but 4.1.0 works fine, too.
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by herve chateau over 4 years ago
thank you for your answer and your support.
i have reinstall all with Boost 1.68 (no 1.70) and Wt 4.1.1 but still the same error (see below).
when i finished installing boost libs i got this message:
_Message from boost-libs-1.68.0_1:
You have built the Boost library with thread support.
Don't forget to add -pthread to your linker options when
linking your code._
so maybe i must find the file where are all cmake parameters and tell to cmake to add a -pthread parameter but i never used cmake before.
i have joined "/root/wt-4.1.1/build/CMakeFiles/CMakeOutput.log" and "/root/wt-4.1.1/build/CMakeFiles/CMakeError.log" to this message.
[2.5.0-DEVELOPMENT]admin@pfSense.localdomain/root/wt-4.1.1/build: cmake ..
--- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
--- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
--- Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1219 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1221 ] Boost_USE_MULTITHREADED = ON
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1223 ] Boost_USE_STATIC_LIBS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1225 ] Boost_USE_STATIC_RUNTIME =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1227 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1229 ] Boost_NO_SYSTEM_PATHS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1297 ] Declared as CMake or Environmental Variables:
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1299 ] BOOST_ROOT = /usr
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1301 ] BOOST_INCLUDEDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1303 ] BOOST_LIBRARYDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1305 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1404 ] location of version.hpp: /usr/local/include/boost/version.hpp
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1429 ] version.hpp reveals boost 1.68.0
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1485 ] Boost_LIB_PREFIX =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1487 ] Boost_NAMESPACE = boost
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1522 ] guessed _boost_COMPILER = -gcc73
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1532 ] _boost_MULTITHREADED = -mt
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1616 ] _boost_RELEASE_ABI_TAG = -
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] _boost_DEBUG_ABI_TAG = -d
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc73-mt-1_68;boost_system-gcc73-mt;boost_system-gcc73-mt;boost_system-mt-1_68;boost_system-mt;boost_system-mt;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc73-mt-d-1_68;boost_system-gcc73-mt-d;boost_system-gcc73-mt-d;boost_system-mt-d-1_68;boost_system-mt-d;boost_system-mt-d;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:2006 ] Boost_FOUND = 1
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1219 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1221 ] Boost_USE_MULTITHREADED = ON
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1223 ] Boost_USE_STATIC_LIBS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1225 ] Boost_USE_STATIC_RUNTIME =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1227 ] Boost_ADDITIONAL_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1229 ] Boost_NO_SYSTEM_PATHS =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1297 ] Declared as CMake or Environmental Variables:
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1299 ] BOOST_ROOT = /usr
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1301 ] BOOST_INCLUDEDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1303 ] BOOST_LIBRARYDIR =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1305 ] _boost_TEST_VERSIONS = 1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1404 ] location of version.hpp: /usr/local/include/boost/version.hpp
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1429 ] version.hpp reveals boost 1.68.0
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1485 ] Boost_LIB_PREFIX =
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1487 ] Boost_NAMESPACE = boost
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1522 ] guessed _boost_COMPILER = -gcc73
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1532 ] _boost_MULTITHREADED = -mt
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1616 ] _boost_RELEASE_ABI_TAG = -
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] _boost_DEBUG_ABI_TAG = -d
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH_boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- Could NOT find Threads (missing: Threads_FOUND)
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc73-mt-1_68;boost_program_options-gcc73-mt;boost_program_options-gcc73-mt;boost_program_options-mt-1_68;boost_program_options-mt;boost_program_options-mt;boost_program_options-mt;boost_program_options
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc73-mt-d-1_68;boost_program_options-gcc73-mt-d;boost_program_options-gcc73-mt-d;boost_program_options-mt-d-1_68;boost_program_options-mt-d;boost_program_options-mt-d;boost_program_options-mt;boost_program_options
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc73-mt-1_68;boost_filesystem-gcc73-mt;boost_filesystem-gcc73-mt;boost_filesystem-mt-1_68;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc73-mt-d-1_68;boost_filesystem-gcc73-mt-d;boost_filesystem-gcc73-mt-d;boost_filesystem-mt-d-1_68;boost_filesystem-mt-d;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc73-mt-1_68;boost_thread-gcc73-mt;boost_thread-gcc73-mt;boost_thread-mt-1_68;boost_thread-mt;boost_thread-mt;boost_thread-mt;boost_thread
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc73-mt-d-1_68;boost_thread-gcc73-mt-d;boost_thread-gcc73-mt-d;boost_thread-mt-d-1_68;boost_thread-mt-d;boost_thread-mt-d;boost_thread-mt;boost_thread
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc73-mt-1_68;boost_system-gcc73-mt;boost_system-gcc73-mt;boost_system-mt-1_68;boost_system-mt;boost_system-mt;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc73-mt-d-1_68;boost_system-gcc73-mt-d;boost_system-gcc73-mt-d;boost_system-mt-d-1_68;boost_system-mt-d;boost_system-mt-d;boost_system-mt;boost_system
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc73-mt-1_68;boost_chrono-gcc73-mt;boost_chrono-gcc73-mt;boost_chrono-mt-1_68;boost_chrono-mt;boost_chrono-mt;boost_chrono-mt;boost_chrono
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc73-mt-d-1_68;boost_chrono-gcc73-mt-d;boost_chrono-gcc73-mt-d;boost_chrono-mt-d-1_68;boost_chrono-mt-d;boost_chrono-mt-d;boost_chrono-mt;boost_chrono
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc73-mt-1_68;boost_date_time-gcc73-mt;boost_date_time-gcc73-mt;boost_date_time-mt-1_68;boost_date_time-mt;boost_date_time-mt;boost_date_time-mt;boost_date_time
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc73-mt-d-1_68;boost_date_time-gcc73-mt-d;boost_date_time-gcc73-mt-d;boost_date_time-mt-d-1_68;boost_date_time-mt-d;boost_date_time-mt-d;boost_date_time-mt;boost_date_time
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1875 ] Searching for ATOMIC_LIBRARY_RELEASE: boost_atomic-gcc73-mt-1_68;boost_atomic-gcc73-mt;boost_atomic-gcc73-mt;boost_atomic-mt-1_68;boost_atomic-mt;boost_atomic-mt;boost_atomic-mt;boost_atomic
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_RELEASE = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_RELEASE = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:1932 ] Searching for ATOMIC_LIBRARY_DEBUG: boost_atomic-gcc73-mt-d-1_68;boost_atomic-gcc73-mt-d;boost_atomic-gcc73-mt-d;boost_atomic-mt-d-1_68;boost_atomic-mt-d;boost_atomic-mt-d;boost_atomic-mt;boost_atomic
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:410 ] Boost_LIBRARY_DIR_DEBUG = /usr/local/lib _boost_LIBRARY_SEARCH_DIRS_DEBUG = /usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH
--- [ /usr/local/share/cmake/Modules/FindBoost.cmake:2006 ] Boost_FOUND = 1
CMake Error at /usr/local/share/cmake/Modules/FindBoost.cmake:2170 (message):
Unable to find the requested Boost libraries.
Boost version: 1.68.0
Boost include path: /usr/local/include
Could not find the following Boost libraries:
boost_thread (missing dependency: Threads)
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
CMakeLists.txt:267 (INCLUDE)
--- libharu libraries not found - set HARU_PREFIX
--- OpenGL libraries not found
--- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_INCLUDE_DIR)
--- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
--- Found unsuitable Qt version "" from NOTFOUND
CMake Warning at CMakeLists.txt:300 (FIND_PACKAGE):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at CMakeLists.txt:330 (MESSAGE):
Could not find a boost installation in /usr.
There are two methods in Wt to find boost:
- Find boost through cmake (recommended)
This requires cmake 2.6, and is in that case the default (unless
BOOST_COMPILER or BOOST_VERSION is defined). This method requires a
multi-threaded boost installation.
You may need to add your boost version number to Boost_ADDITIONAL_VERSIONS,
and/or set BOOST_PREFIX to the location where boost is installed. - Use the Wt-proprietary method to find boost.
This requires you to define three variables:
BOOST_PREFIX: set to the directory where you installed boost
BOOST_COMPILER: set to the compiler signature as you find them in library
names (e.g.: gcc42)
BOOST_VERSION: set to the boost version, again as you find them in the
library names (e.g.: 1_38)
Note 1: the code to discover boost is located in cmake/WtFindBoost.txt
Note 2: on windows, set BOOST_PREFIX to the full path, eg c:/Program
Files/boost/boost_1_65_1
--- Configuring incomplete, errors occurred!
See also "/root/wt-4.1.1/build/CMakeFiles/CMakeOutput.log".
See also "/root/wt-4.1.1/build/CMakeFiles/CMakeError.log".
[2.5.0-DEVELOPMENT]admin@pfSense.localdomain/root/wt-4.1.1/build:
CMakeError.log (2.18 KB) CMakeError.log | |||
CMakeOutput.log (67 KB) CMakeOutput.log |
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by Roel Standaert over 4 years ago
cmake should really just find the thread support. You should really not have to change anything. On a normal, clean FreeBSD 12 install you can just pkg install boost-libs cmake
(which installs Boost 1.71.0 and cmake 3.15.3), download Wt's sources, unpack them, and build it. There should be nothing more to it.
Do you have some sort of extremely barebones FreeBSD installation? Your hostname says pfsense?
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by herve chateau about 4 years ago
thank you for your answer and your help.
i am trying to install Wt on pfsense 2.5.0 based on freeBSD 12 because i want to use it instead of PHP.
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads)) pthread.h not found - Added by herve chateau about 4 years ago
same error with "pkg install boost-libs cmake" on a STABLE version of pfsense 2.4.5 (problem with pthread: thread.h not found)
after installing boost it says:
Message from boost-libs-1.72.0:
_---
You have built the Boost library with thread support.
Don't forget to add -pthread to your linker options when
linking your code._
...then the error happens when i launch cmake ..
see all the logs below:
[2.4.5-RELEASE]admin@pfSense.localdomain/root/wt-4.3.0/build/build: cmake ..
- - The C compiler identification is GNU 8.3.0
- - The CXX compiler identification is GNU 8.3.0
- - Check for working C compiler: /usr/local/bin/gcc
- - Check for working C compiler: /usr/local/bin/gcc --- works
- - Detecting C compiler ABI info
- - Detecting C compiler ABI info - done
- - Detecting C compile features
- - Detecting C compile features - done
- - Check for working CXX compiler: /usr/local/bin/g
- - Check for working CXX compiler: /usr/local/bin/g --- works
- - Detecting CXX compiler ABI info
- - Detecting CXX compiler ABI info - done
- - Detecting CXX compile features
- - Detecting CXX compile features - done
- - Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
- - Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
- - Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1451 ] _boost_TEST_VERSIONS = "1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1452 ] Boost_USE_MULTITHREADED = "ON"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1453 ] Boost_USE_STATIC_LIBS =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1454 ] Boost_USE_STATIC_RUNTIME =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1455 ] Boost_ADDITIONAL_VERSIONS = "1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1456 ] Boost_NO_SYSTEM_PATHS =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1525 ] BOOST_ROOT = "/usr"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1526 ] ENV{BOOST_ROOT} =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1527 ] BOOST_INCLUDEDIR =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1528 ] ENV{BOOST_INCLUDEDIR} =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1529 ] BOOST_LIBRARYDIR =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1530 ] ENV{BOOST_LIBRARYDIR} =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1602 ] _boost_INCLUDE_SEARCH_DIRS = "/usr/include;/usr;PATHS;C:/boost/include;C:/boost;/sw/local/include"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1603 ] _boost_PATH_SUFFIXES = "boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_60;boost_1_60;boost/boost-1_60;boost/boost_1_60;boost-1_61;boost_1_61;boost/boost-1_61;boost/boost_1_61;boost-1_62;boost_1_62;boost/boost-1_62;boost/boost_1_62;boost-1_63;boost_1_63;boost/boost-1_63;boost/boost_1_63;boost-1_64;boost_1_64;boost/boost-1_64;boost/boost_1_64;boost-1_65;boost_1_65;boost/boost-1_65;boost/boost_1_65;boost-1_65_1;boost_1_65_1;boost/boost-1_65_1;boost/boost_1_65_1;boost-1_66;boost_1_66;boost/boost-1_66;boost/boost_1_66;boost-1_67;boost_1_67;boost/boost-1_67;boost/boost_1_67;boost-1_68;boost_1_68;boost/boost-1_68;boost/boost_1_68;boost-1_69;boost_1_69;boost/boost-1_69;boost/boost_1_69;boost-1_70;boost_1_70;boost/boost-1_70;boost/boost_1_70;boost-1_71;boost_1_71;boost/boost-1_71;boost/boost_1_71;boost-1_72;boost_1_72;boost/boost-1_72;boost/boost_1_72;boost-1_73;boost_1_73;boost/boost-1_73;boost/boost_1_73;boost-1_74;boost_1_74;boost/boost-1_74;boost/boost_1_74;boost-1_75;boost_1_75;boost/boost-1_75;boost/boost_1_75;boost-1_76;boost_1_76;boost/boost-1_76;boost/boost_1_76;boost-1_77;boost_1_77;boost/boost-1_77;boost/boost_1_77;boost-1_78;boost_1_78;boost/boost-1_78;boost/boost_1_78;boost-1_79;boost_1_79;boost/boost-1_79;boost/boost_1_79;boost-1_71_0;boost_1_71_0;boost/boost-1_71_0;boost/boost_1_71_0;boost-1_71;boost_1_71;boost/boost-1_71;boost/boost_1_71;boost-1_70_0;boost_1_70_0;boost/boost-1_70_0;boost/boost_1_70_0;boost-1_70;boost_1_70;boost/boost-1_70;boost/boost_1_70;boost-1_69_0;boost_1_69_0;boost/boost-1_69_0;boost/boost_1_69_0;boost-1_69;boost_1_69;boost/boost-1_69;boost/boost_1_69;boost-1_68_0;boost_1_68_0;boost/boost-1_68_0;boost/boost_1_68_0;boost-1_68;boost_1_68;boost/boost-1_68;boost/boost_1_68;boost-1_67_0;boost_1_67_0;boost/boost-1_67_0;boost/boost_1_67_0;boost-1_67;boost_1_67;boost/boost-1_67;boost/boost_1_67;boost-1_66_0;boost_1_66_0;boost/boost-1_66_0;boost/boost_1_66_0;boost-1_66;boost_1_66;boost/boost-1_66;boost/boost_1_66;boost-1_65_1;boost_1_65_1;boost/boost-1_65_1;boost/boost_1_65_1;boost-1_65_0;boost_1_65_0;boost/boost-1_65_0;boost/boost_1_65_0;boost-1_65;boost_1_65;boost/boost-1_65;boost/boost_1_65;boost-1_64_0;boost_1_64_0;boost/boost-1_64_0;boost/boost_1_64_0;boost-1_64;boost_1_64;boost/boost-1_64;boost/boost_1_64;boost-1_63_0;boost_1_63_0;boost/boost-1_63_0;boost/boost_1_63_0;boost-1_63;boost_1_63;boost/boost-1_63;boost/boost_1_63;boost-1_62_0;boost_1_62_0;boost/boost-1_62_0;boost/boost_1_62_0;boost-1_62;boost_1_62;boost/boost-1_62;boost/boost_1_62;boost-1_61_0;boost_1_61_0;boost/boost-1_61_0;boost/boost_1_61_0;boost-1_61;boost_1_61;boost/boost-1_61;boost/boost_1_61;boost-1_60_0;boost_1_60_0;boost/boost-1_60_0;boost/boost_1_60_0;boost-1_60;boost_1_60;boost/boost-1_60;boost/boost_1_60;boost-1_59_0;boost_1_59_0;boost/boost-1_59_0;boost/boost_1_59_0;boost-1_59;boost_1_59;boost/boost-1_59;boost/boost_1_59;boost-1_58_0;boost_1_58_0;boost/boost-1_58_0;boost/boost_1_58_0;boost-1_58;boost_1_58;boost/boost-1_58;boost/boost_1_58;boost-1_57_0;boost_1_57_0;boost/boost-1_57_0;boost/boost_1_57_0;boost-1_57;boost_1_57;boost/boost-1_57;boost/boost_1_57;boost-1_56_0;boost_1_56_0;boost/boost-1_56_0;boost/boost_1_56_0;boost-1_56;boost_1_56;boost/boost-1_56;boost/boost_1_56;boost-1_55_0;boost_1_55_0;boost/boost-1_55_0;boost/boost_1_55_0;boost-1_55;boost_1_55;boost/boost-1_55;boost/boost_1_55;boost-1_54_0;boost_1_54_0;boost/boost-1_54_0;boost/boost_1_54_0;boost-1_54;boost_1_54;boost/boost-1_54;boost/boost_1_54;boost-1_53_0;boost_1_53_0;boost/boost-1_53_0;boost/boost_1_53_0;boost-1_53;boost_1_53;boost/boost-1_53;boost/boost_1_53;boost-1_52_0;boost_1_52_0;boost/boost-1_52_0;boost/boost_1_52_0;boost-1_52;boost_1_52;boost/boost-1_52;boost/boost_1_52;boost-1_51_0;boost_1_51_0;boost/boost-1_51_0;boost/boost_1_51_0;boost-1_51;boost_1_51;boost/boost-1_51;boost/boost_1_51;boost-1_50_0;boost_1_50_0;boost/boost-1_50_0;boost/boost_1_50_0;boost-1_50;boost_1_50;boost/boost-1_50;boost/boost_1_50"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] location of version.hpp: /usr/local/include/boost/version.hpp
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1658 ] Boost_VERSION = "107200"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1659 ] Boost_VERSION_STRING = "1.72.0"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1660 ] Boost_VERSION_MACRO = "107200"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1661 ] Boost_VERSION_MAJOR = "1"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1662 ] Boost_VERSION_MINOR = "72"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1663 ] Boost_VERSION_PATCH = "0"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1664 ] Boost_VERSION_COUNT = "3"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] Boost_LIB_PREFIX = ""
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1682 ] Boost_NAMESPACE = "boost"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:792 ] _boost_COMPILER = "-gcc8" (guessed)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1718 ] _boost_MULTITHREADED = "-mt"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1795 ] _boost_ARCHITECTURE_TAG = "" (detected)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1799 ] _boost_RELEASE_ABI_TAG = "-"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1800 ] _boost_DEBUG_ABI_TAG = "-d"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1860 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/lib;/usr/stage/lib;/usr/local/include/lib;/usr/local/include/../lib;/usr/local/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1861 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/lib;/usr/stage/lib;/usr/local/include/lib;/usr/local/include/../lib;/usr/local/include/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib"
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:60 (find_package)
- cmake/WtFindBoost.txt:75 (find_boost_system)
- CMakeLists.txt:241 (INCLUDE)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for SYSTEM_LIBRARY_RELEASE: boost_system-gcc8-mt-1_72;boost_system-gcc8-mt;boost_system-gcc8-mt;boost_system-mt-1_72;boost_system-mt;boost_system-mt;boost_system-mt;boost_system
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for SYSTEM_LIBRARY_DEBUG: boost_system-gcc8-mt-d-1_72;boost_system-gcc8-mt-d;boost_system-gcc8-mt-d;boost_system-mt-d-1_72;boost_system-mt-d;boost_system-mt-d;boost_system-mt;boost_system
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1451 ] _boost_TEST_VERSIONS = "1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79;1.71.0;1.71;1.70.0;1.70;1.69.0;1.69;1.68.0;1.68;1.67.0;1.67;1.66.0;1.66;1.65.1;1.65.0;1.65;1.64.0;1.64;1.63.0;1.63;1.62.0;1.62;1.61.0;1.61;1.60.0;1.60;1.59.0;1.59;1.58.0;1.58;1.57.0;1.57;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54;1.53.0;1.53;1.52.0;1.52;1.51.0;1.51;1.50.0;1.50"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1452 ] Boost_USE_MULTITHREADED = "ON"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1453 ] Boost_USE_STATIC_LIBS =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1454 ] Boost_USE_STATIC_RUNTIME =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1455 ] Boost_ADDITIONAL_VERSIONS = "1.50;1.51;1.52;1.53;1.54;1.55;1.56;1.57;1.58;1.59;1.60;1.61;1.62;1.63;1.64;1.65;1.65.1;1.66;1.67;1.68;1.69;1.70;1.71;1.72;1.73;1.74;1.75;1.76;1.77;1.78;1.79"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1456 ] Boost_NO_SYSTEM_PATHS =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1525 ] BOOST_ROOT = "/usr"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1526 ] ENV{BOOST_ROOT} =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1527 ] BOOST_INCLUDEDIR =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1528 ] ENV{BOOST_INCLUDEDIR} =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1529 ] BOOST_LIBRARYDIR =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1530 ] ENV{BOOST_LIBRARYDIR} =
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] location of version.hpp: /usr/local/include/boost/version.hpp
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1658 ] Boost_VERSION = "107200"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1659 ] Boost_VERSION_STRING = "1.72.0"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1660 ] Boost_VERSION_MACRO = "107200"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1661 ] Boost_VERSION_MAJOR = "1"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1662 ] Boost_VERSION_MINOR = "72"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1663 ] Boost_VERSION_PATCH = "0"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1664 ] Boost_VERSION_COUNT = "3"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] Boost_LIB_PREFIX = ""
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1682 ] Boost_NAMESPACE = "boost"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:792 ] _boost_COMPILER = "-gcc8" (guessed)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1718 ] _boost_MULTITHREADED = "-mt"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1795 ] _boost_ARCHITECTURE_TAG = "" (detected)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1799 ] _boost_RELEASE_ABI_TAG = "-"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1800 ] _boost_DEBUG_ABI_TAG = "-d"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1860 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1861 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
- New Boost version may have incorrect or missing dependencies and imported
- targets
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
- Error message= NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
- URL= XStringBundle
- Line Number= 21
- /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- - Looking for pthread.h
- - Looking for pthread.h - not found
- - Could NOT find Threads (missing: Threads_FOUND)
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for PROGRAM_OPTIONS_LIBRARY_RELEASE: boost_program_options-gcc8-mt-1_72;boost_program_options-gcc8-mt;boost_program_options-gcc8-mt;boost_program_options-mt-1_72;boost_program_options-mt;boost_program_options-mt;boost_program_options-mt;boost_program_options
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for PROGRAM_OPTIONS_LIBRARY_DEBUG: boost_program_options-gcc8-mt-d-1_72;boost_program_options-gcc8-mt-d;boost_program_options-gcc8-mt-d;boost_program_options-mt-d-1_72;boost_program_options-mt-d;boost_program_options-mt-d;boost_program_options-mt;boost_program_options
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for FILESYSTEM_LIBRARY_RELEASE: boost_filesystem-gcc8-mt-1_72;boost_filesystem-gcc8-mt;boost_filesystem-gcc8-mt;boost_filesystem-mt-1_72;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem-mt;boost_filesystem
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for FILESYSTEM_LIBRARY_DEBUG: boost_filesystem-gcc8-mt-d-1_72;boost_filesystem-gcc8-mt-d;boost_filesystem-gcc8-mt-d;boost_filesystem-mt-d-1_72;boost_filesystem-mt-d;boost_filesystem-mt-d;boost_filesystem-mt;boost_filesystem
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for THREAD_LIBRARY_RELEASE: boost_thread-gcc8-mt-1_72;boost_thread-gcc8-mt;boost_thread-gcc8-mt;boost_thread-mt-1_72;boost_thread-mt;boost_thread-mt;boost_thread-mt;boost_thread
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for THREAD_LIBRARY_DEBUG: boost_thread-gcc8-mt-d-1_72;boost_thread-gcc8-mt-d;boost_thread-gcc8-mt-d;boost_thread-mt-d-1_72;boost_thread-mt-d;boost_thread-mt-d;boost_thread-mt;boost_thread
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for CHRONO_LIBRARY_RELEASE: boost_chrono-gcc8-mt-1_72;boost_chrono-gcc8-mt;boost_chrono-gcc8-mt;boost_chrono-mt-1_72;boost_chrono-mt;boost_chrono-mt;boost_chrono-mt;boost_chrono
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for CHRONO_LIBRARY_DEBUG: boost_chrono-gcc8-mt-d-1_72;boost_chrono-gcc8-mt-d;boost_chrono-gcc8-mt-d;boost_chrono-mt-d-1_72;boost_chrono-mt-d;boost_chrono-mt-d;boost_chrono-mt;boost_chrono
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for DATE_TIME_LIBRARY_RELEASE: boost_date_time-gcc8-mt-1_72;boost_date_time-gcc8-mt;boost_date_time-gcc8-mt;boost_date_time-mt-1_72;boost_date_time-mt;boost_date_time-mt;boost_date_time-mt;boost_date_time
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for DATE_TIME_LIBRARY_DEBUG: boost_date_time-gcc8-mt-d-1_72;boost_date_time-gcc8-mt-d;boost_date_time-gcc8-mt-d;boost_date_time-mt-d-1_72;boost_date_time-mt-d;boost_date_time-mt-d;boost_date_time-mt;boost_date_time
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2045 ] Searching for ATOMIC_LIBRARY_RELEASE: boost_atomic-gcc8-mt-1_72;boost_atomic-gcc8-mt;boost_atomic-gcc8-mt;boost_atomic-mt-1_72;boost_atomic-mt;boost_atomic-mt;boost_atomic-mt;boost_atomic
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:2100 ] Searching for ATOMIC_LIBRARY_DEBUG: boost_atomic-gcc8-mt-d-1_72;boost_atomic-gcc8-mt-d;boost_atomic-gcc8-mt-d;boost_atomic-mt-d-1_72;boost_atomic-mt-d;boost_atomic-mt-d;boost_atomic-mt;boost_atomic
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
- - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
- CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
- Could NOT find Boost (missing: thread) (found suitable version "1.72.0",
- minimum required is "1.50")
- Call Stack (most recent call first):
- /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
- /usr/local/share/cmake/Modules/FindBoost.cmake:2166 (find_package_handle_standard_args)
- cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
- CMakeLists.txt:241 (INCLUDE)
- - Configuring incomplete, errors occurred!
- See also "/root/wt-4.3.0/build/CMakeFiles/CMakeOutput.log".
- See also "/root/wt-4.3.0/build/CMakeFiles/CMakeError.log".
[2.4.5-RELEASE]admin@pfSense.localdomain/root/wt-4.3.0/build/build:
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by herve chateau about 4 years ago
maybe i should install boost without thread support (i don't know how to do it) or find the file thread.h and install it in the right directory to avoid the error displayed at line 145/146 (but in which directory ?)
frustrating...
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by Roel Standaert about 4 years ago
No, that message is kind of misleading, you shouldn't need to do anything extra. Wt's CMakeLists.txt should normally take care of that.
How did you get a compiler on there, anyway? According to the docs you're supposed to build on FreeBSD and then move the binaries over: https://docs.netgate.com/pfsense/en/latest/development/compiling-software-on-the-firewall.html
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by Roel Standaert about 4 years ago
Oh, you maybe just don't have the headers on there, because pfSense doesn't come with them. Because you're not supposed to build your software on pfSense, but use FreeBSD instead.
RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by herve chateau about 4 years ago
ok, thank you so much for your support.
i will investigate on it and if i find the solution, i will display it below for the community.