Здраствуйте, решил собрать пакет ethminer в ручную, но возникают ошибки при сборке:
max@max-RX881AA-ABA-m8000n:~/ethminer/build$ cmake ..
....
[hunter ** FATAL ERROR **] Build step failed (dir: /home/max/.hunter/_Base/5cd594b/d092851/51e893d/Build/OpenSSL
[hunter ** FATAL ERROR **] [Directory:/home/max/.hunter/_Base/Download/Hunter/0.20.73/5cd594b/Unpacked/cmake/projects/OpenSSL]
------------------------------ WIKI -------------------------------
https://github.com/ruslo/hunter/wiki/error.external.build.failed
-------------------------------------------------------------------
CMake Error at /home/max/.hunter/_Base/Download/Hunter/0.20.73/5cd594b/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
/home/max/.hunter/_Base/Download/Hunter/0.20.73/5cd594b/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki)
/home/max/.hunter/_Base/Download/Hunter/0.20.73/5cd594b/Unpacked/cmake/modules/hunter_download.cmake:671 (hunter_fatal_error)
/home/max/.hunter/_Base/Download/Hunter/0.20.73/5cd594b/Unpacked/cmake/projects/OpenSSL/hunter.cmake:380 (hunter_download)
/home/max/.hunter/_Base/Download/Hunter/0.20.73/5cd594b/Unpacked/cmake/modules/hunter_add_package.cmake:53 (include)
libpoolprotocols/CMakeLists.txt:10 (hunter_add_package)
-- Configuring incomplete, errors occurred!
See also "/home/max/ethminer/build/CMakeFiles/CMakeOutput.log".
See also "/home/max/ethminer/build/CMakeFiles/CMakeError.log".
Читал вики но он не помагает. В чем тут ошибка?
CMakeError.log
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /home/max/ethminer/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8ee56/fast"
/usr/bin/make -f CMakeFiles/cmTC_8ee56.dir/build.make CMakeFiles/cmTC_8ee56.dir/build
make[1]: вход в каталог «/home/max/ethminer/build/CMakeFiles/CMakeTmp»
Building C object CMakeFiles/cmTC_8ee56.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -std=c99 -o CMakeFiles/cmTC_8ee56.dir/CheckFunctionExists.c.o -c /usr/share/cmake-3.10/Modules/CheckFunctionExists.c
Linking C executable cmTC_8ee56
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8ee56.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -rdynamic CMakeFiles/cmTC_8ee56.dir/CheckFunctionExists.c.o -o cmTC_8ee56 -lpthreads
/usr/bin/x86_64-linux-gnu-ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTC_8ee56.dir/build.make:97: recipe for target 'cmTC_8ee56' failed
make[1]: *** [cmTC_8ee56] Error 1
make[1]: выход из каталога «/home/max/ethminer/build/CMakeFiles/CMakeTmp»
Makefile:126: recipe for target 'cmTC_8ee56/fast' failed
make: *** [cmTC_8ee56/fast] Error 2