root@ubuntu:/home/kevin/fbthrift/wangle# cmake .
-- Boost version: 1.58.0
-- Found the following Boost libraries:
-- filesystem
-- system
-- thread
-- chrono
-- date_time
-- atomic
-- MSTCH: /usr/local/include
-- Found folly: /usr/local
-- GLOG: /usr/local/include
-- found krb5-config here KRB5_C_CONFIG-NOTFOUND
-- KRB5 was not found. Make sure the entries KRB5_* are set.
-- YARPL PATH:
-- YARPL_INCLUDE_DIRS (missing: YARPL_LIBRARIES)
CMake Error at CMakeLists.txt:82 (find_package):
Could not find a package configuration file provided by "wangle" with any
of the following names:
wangleConfig.cmake
wangle-config.cmake
Add the installation prefix of "wangle" to CMAKE_PREFIX_PATH or set
"wangle_DIR" to a directory containing one of the above files. If "wangle"
provides a separate development package or SDK, be sure it has been
installed.
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/kevin/fbthrift/wangle/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_00fbc/fast"
/usr/bin/make -f CMakeFiles/cmTC_00fbc.dir/build.make CMakeFiles/cmTC_00fbc.dir/build
make[1]: Entering directory '/home/kevin/fbthrift/wangle/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_00fbc.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o CMakeFiles/cmTC_00fbc.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.5/Modules/CheckFunctionExists.c
Linking C executable cmTC_00fbc
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_00fbc.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_00fbc.dir/CheckFunctionExists.c.o -o cmTC_00fbc -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_00fbc.dir/build.make:97: recipe for target 'cmTC_00fbc' failed
make[1]: [cmTC_00fbc] Error 1
make[1]: Leaving directory '/home/kevin/fbthrift/wangle/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_00fbc/fast' failed
make: [cmTC_00fbc/fast] Error 2
Hi,
There are some issues while compiling wangle.
Error log
What is missing here?