ubuntu 安装报错
Closed this issue · 1 comments
aysuio commented
ubuntu 18.04
package 安装在 usr/local/ 下
错误log
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message):
No header defined for python3; skipping header check
Call Stack (most recent call first):
CMakeLists.txt:18 (find_package)
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- system
-- filesystem
-- regex
-- thread
-- python3
-- locale
-- date_time
-- chrono
-- atomic
-- Looking for nanomsg...
-- Looking for nanomsg... - found /usr/local/lib/libnanomsg.so
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/libbson-1.0/libbson-1.0-config.cmake:28 (message):
File or directory /usr/lib/include/libbson-1.0 referenced by variable
BSON_INCLUDE_DIRS does not exist !
Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/libbson-1.0/libbson-1.0-config.cmake:32 (set_and_check)
/usr/lib/x86_64-linux-gnu/cmake/libmongoc-1.0/libmongoc-1.0-config.cmake:20 (find_package)
CMakeLists.txt:25 (find_package)
aysuio commented
已解决。需要手动安装所有的package到/usr/local