WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads)

Added by herve chateau 8 months 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][]/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:
1. 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.
2. 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 8 months 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 8 months 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 8 months 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][]/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:
1. 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.
2. 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][]/root/wt-4.1.1/build:

CMakeError.log (2.18 KB)

CMakeOutput.log (67 KB)

RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by Roel Standaert 8 months 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 2 months 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 2 months 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][]/root/wt-4.3.0/build/build: cmake ..
  1. - The C compiler identification is GNU 8.3.0
  2. - The CXX compiler identification is GNU 8.3.0
  3. - Check for working C compiler: /usr/local/bin/gcc
  4. - Check for working C compiler: /usr/local/bin/gcc -- works
  5. - Detecting C compiler ABI info
  6. - Detecting C compiler ABI info - done
  7. - Detecting C compile features
  8. - Detecting C compile features - done
  9. - Check for working CXX compiler: /usr/local/bin/g++
  10. - Check for working CXX compiler: /usr/local/bin/g++ -- works
  11. - Detecting CXX compiler ABI info
  12. - Detecting CXX compiler ABI info - done
  13. - Detecting CXX compile features
  14. - Detecting CXX compile features - done
  15. - Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
  16. - Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
  17. - Could NOT find ZLIB (missing: ZLIB_INCLUDE_DIR)
  18. - [ /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"
  19. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1452 ] Boost_USE_MULTITHREADED = "ON"
  20. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1453 ] Boost_USE_STATIC_LIBS = <unset>
  21. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1454 ] Boost_USE_STATIC_RUNTIME = <unset>
  22. - [ /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"
  23. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1456 ] Boost_NO_SYSTEM_PATHS = <unset>
  24. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1525 ] BOOST_ROOT = "/usr"
  25. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1526 ] ENV{BOOST_ROOT} = <unset>
  26. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1527 ] BOOST_INCLUDEDIR = <unset>
  27. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1528 ] ENV{BOOST_INCLUDEDIR} = <unset>
  28. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1529 ] BOOST_LIBRARYDIR = <unset>
  29. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1530 ] ENV{BOOST_LIBRARYDIR} = <unset>
  30. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1602 ] _boost_INCLUDE_SEARCH_DIRS = "/usr/include;/usr;PATHS;C:/boost/include;C:/boost;/sw/local/include"
  31. - [ /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"
  32. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] location of version.hpp: /usr/local/include/boost/version.hpp
  33. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1658 ] Boost_VERSION = "107200"
  34. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1659 ] Boost_VERSION_STRING = "1.72.0"
  35. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1660 ] Boost_VERSION_MACRO = "107200"
  36. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1661 ] Boost_VERSION_MAJOR = "1"
  37. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1662 ] Boost_VERSION_MINOR = "72"
  38. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1663 ] Boost_VERSION_PATCH = "0"
  39. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1664 ] Boost_VERSION_COUNT = "3"
  40. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] Boost_LIB_PREFIX = ""
  41. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1682 ] Boost_NAMESPACE = "boost"
  42. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:792 ] _boost_COMPILER = "-gcc8" (guessed)
  43. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1718 ] _boost_MULTITHREADED = "-mt"
  44. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1795 ] _boost_ARCHITECTURE_TAG = "" (detected)
  45. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1799 ] _boost_RELEASE_ABI_TAG = "-"
  46. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1800 ] _boost_DEBUG_ABI_TAG = "-d"
  47. - [ /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"
  48. - [ /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"
  49. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  50. New Boost version may have incorrect or missing dependencies and imported
  51. targets
  52. Call Stack (most recent call first):
  53. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  54. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  55. cmake/WtFindBoost.txt:60 (find_package)
  56. cmake/WtFindBoost.txt:75 (find_boost_system)
  57. CMakeLists.txt:241 (INCLUDE)
  58. - [ /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
  59. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  60. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  61. - [ /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
  62. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  63. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  64. - [ /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"
  65. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1452 ] Boost_USE_MULTITHREADED = "ON"
  66. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1453 ] Boost_USE_STATIC_LIBS = <unset>
  67. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1454 ] Boost_USE_STATIC_RUNTIME = <unset>
  68. - [ /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"
  69. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1456 ] Boost_NO_SYSTEM_PATHS = <unset>
  70. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1525 ] BOOST_ROOT = "/usr"
  71. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1526 ] ENV{BOOST_ROOT} = <unset>
  72. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1527 ] BOOST_INCLUDEDIR = <unset>
  73. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1528 ] ENV{BOOST_INCLUDEDIR} = <unset>
  74. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1529 ] BOOST_LIBRARYDIR = <unset>
  75. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1530 ] ENV{BOOST_LIBRARYDIR} = <unset>
  76. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1618 ] location of version.hpp: /usr/local/include/boost/version.hpp
  77. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1658 ] Boost_VERSION = "107200"
  78. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1659 ] Boost_VERSION_STRING = "1.72.0"
  79. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1660 ] Boost_VERSION_MACRO = "107200"
  80. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1661 ] Boost_VERSION_MAJOR = "1"
  81. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1662 ] Boost_VERSION_MINOR = "72"
  82. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1663 ] Boost_VERSION_PATCH = "0"
  83. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1664 ] Boost_VERSION_COUNT = "3"
  84. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1681 ] Boost_LIB_PREFIX = ""
  85. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1682 ] Boost_NAMESPACE = "boost"
  86. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:792 ] _boost_COMPILER = "-gcc8" (guessed)
  87. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1718 ] _boost_MULTITHREADED = "-mt"
  88. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1795 ] _boost_ARCHITECTURE_TAG = "" (detected)
  89. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1799 ] _boost_RELEASE_ABI_TAG = "-"
  90. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1800 ] _boost_DEBUG_ABI_TAG = "-d"
  91. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1860 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  92. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:1861 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  93. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  94. New Boost version may have incorrect or missing dependencies and imported
  95. targets
  96. Call Stack (most recent call first):
  97. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  98. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  99. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  100. CMakeLists.txt:241 (INCLUDE)
  101. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  102. New Boost version may have incorrect or missing dependencies and imported
  103. targets
  104. Call Stack (most recent call first):
  105. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  106. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  107. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  108. CMakeLists.txt:241 (INCLUDE)
  109. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  110. New Boost version may have incorrect or missing dependencies and imported
  111. targets
  112. Call Stack (most recent call first):
  113. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  114. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  115. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  116. CMakeLists.txt:241 (INCLUDE)
  117. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  118. New Boost version may have incorrect or missing dependencies and imported
  119. targets
  120. Call Stack (most recent call first):
  121. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  122. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  123. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  124. CMakeLists.txt:241 (INCLUDE)
  125. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  126. New Boost version may have incorrect or missing dependencies and imported
  127. targets
  128. Call Stack (most recent call first):
  129. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  130. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  131. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  132. CMakeLists.txt:241 (INCLUDE)
  133. CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:1149 (message):
  134. New Boost version may have incorrect or missing dependencies and imported
  135. targets
  136. Call Stack (most recent call first):
  137. /usr/local/share/cmake/Modules/FindBoost.cmake:1271 (_Boost_COMPONENT_DEPENDENCIES)
  138. Error message= NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIStringBundle.GetStringFromName]
  139. URL= XStringBundle
  140. Line Number= 21
  141. /usr/local/share/cmake/Modules/FindBoost.cmake:1909 (_Boost_MISSING_DEPENDENCIES)
  142. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  143. CMakeLists.txt:241 (INCLUDE)
  144. - Looking for pthread.h
  145. - Looking for pthread.h - not found
  146. - Could NOT find Threads (missing: Threads_FOUND)
  147. - [ /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
  148. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  149. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  150. - [ /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
  151. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  152. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  153. - [ /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
  154. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  155. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  156. - [ /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
  157. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  158. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  159. - [ /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
  160. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  161. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  162. - [ /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
  163. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  164. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  165. - [ /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
  166. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  167. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  168. - [ /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
  169. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  170. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  171. - [ /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
  172. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  173. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  174. - [ /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
  175. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  176. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  177. - [ /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
  178. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_RELEASE = "/usr/local/lib"
  179. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_RELEASE = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  180. - [ /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
  181. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:651 ] Boost_LIBRARY_DIR_DEBUG = "/usr/local/lib"
  182. - [ /usr/local/share/cmake/Modules/FindBoost.cmake:653 ] _boost_LIBRARY_SEARCH_DIRS_DEBUG = "/usr/local/lib;NO_DEFAULT_PATH;NO_CMAKE_FIND_ROOT_PATH"
  183. CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  184. Could NOT find Boost (missing: thread) (found suitable version "1.72.0",
  185. minimum required is "1.50")
  186. Call Stack (most recent call first):
  187. /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  188. /usr/local/share/cmake/Modules/FindBoost.cmake:2166 (find_package_handle_standard_args)
  189. cmake/WtFindBoost.txt:88 (FIND_PACKAGE)
  190. CMakeLists.txt:241 (INCLUDE)
  191. - Configuring incomplete, errors occurred!
  192. See also "/root/wt-4.3.0/build/CMakeFiles/CMakeOutput.log".
  193. See also "/root/wt-4.3.0/build/CMakeFiles/CMakeError.log".
    [2.4.5-RELEASE][]/root/wt-4.3.0/build/build:

RE: WT installation on FreeBSD 12 ( boost_thread (missing dependency: Threads) - Added by herve chateau 2 months 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 2 months 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 2 months 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 2 months 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.

(1-10/10)