Project

General

Profile

RE: WT installation on FreeBSD 12 ( boost_thread (missing... » CMakeError.log

herve chateau, 10/17/2019 05:26 AM

 
Determining if the include file pthread.h exists failed with the following output:
Change Dir: /root/wt-4.1.1/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_64079/fast
/usr/bin/make -f CMakeFiles/cmTC_64079.dir/build.make CMakeFiles/cmTC_64079.dir/build
Building C object CMakeFiles/cmTC_64079.dir/CheckIncludeFile.c.o
/usr/local/bin/gcc -o CMakeFiles/cmTC_64079.dir/CheckIncludeFile.c.o -c /root/wt-4.1.1/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/root/wt-4.1.1/build/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:10: fatal error: pthread.h: No such file or directory
#include <pthread.h>
^~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make[1]: stopped in /root/wt-4.1.1/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /root/wt-4.1.1/build/CMakeFiles/CMakeTmp


Determining if the function sin exists failed with the following output:
Change Dir: /root/wt-4.1.1/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/make cmTC_35d2f/fast
/usr/bin/make -f CMakeFiles/cmTC_35d2f.dir/build.make CMakeFiles/cmTC_35d2f.dir/build
Building C object CMakeFiles/cmTC_35d2f.dir/CheckFunctionExists.c.o
/usr/local/bin/gcc -DCHECK_FUNCTION_EXISTS=sin -o CMakeFiles/cmTC_35d2f.dir/CheckFunctionExists.c.o -c /usr/local/share/cmake/Modules/CheckFunctionExists.c
<command-line>:0:23: warning: conflicting types for built-in function 'sin' [-Wbuiltin-declaration-mismatch]
/usr/local/share/cmake/Modules/CheckFunctionExists.c:7:3: note: in expansion of macro 'CHECK_FUNCTION_EXISTS'
CHECK_FUNCTION_EXISTS(void);
^~~~~~~~~~~~~~~~~~~~~
Linking C executable cmTC_35d2f
/usr/local/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35d2f.dir/link.txt --verbose=1
/usr/local/bin/gcc -DCHECK_FUNCTION_EXISTS=sin CMakeFiles/cmTC_35d2f.dir/CheckFunctionExists.c.o -o cmTC_35d2f
CMakeFiles/cmTC_35d2f.dir/CheckFunctionExists.c.o: In function `main':
CheckFunctionExists.c:(.text+0x10): undefined reference to `sin'
collect2: error: ld returned 1 exit status
*** Error code 1

Stop.
make[1]: stopped in /root/wt-4.1.1/build/CMakeFiles/CMakeTmp
*** Error code 1

Stop.
make: stopped in /root/wt-4.1.1/build/CMakeFiles/CMakeTmp


(1-1/2)