亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

這個該怎么辦

CMake Error at cmake/boost.cmake:101 (MESSAGE):
? You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>

? This CMake script will look for boost in <directory>.? If it is not there,
? it will download and unpack it (in that directory) for you.

? If you are inside a firewall, you may need to use an https proxy:

? export https_proxy=http://example.com:80

Call Stack (most recent call first):
? cmake/boost.cmake:289 (COULD_NOT_FIND_BOOST)
? CMakeLists.txt:685 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/root/mysql-8.0.12/CMakeFiles/CMakeOutput.log".
See also "/root/mysql-8.0.12/CMakeFiles/CMakeError.log".

CMake Error at cmake/boost.cmake:101 (MESSAGE):
? You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=<directory>

? This CMake script will look for boost in <directory>.? If it is not there,
? it will download and unpack it (in that directory) for you.

? If you are inside a firewall, you may need to use an https proxy:

? export https_proxy=http://example.com:80

Call Stack (most recent call first):
? cmake/boost.cmake:289 (COULD_NOT_FIND_BOOST)
? CMakeLists.txt:685 (INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/root/mysql-8.0.12/CMakeFiles/CMakeOutput.log".
See also "/root/mysql-8.0.12/CMakeFiles/CMakeError.log".


正在回答

1 回答

你這個問題?和我的一樣? 都是因為安裝的Mysql-8.0.12? 導致就算用yum安裝了boost,也會因為版本對不上而報錯

解決方法:

????1.?進入Mysql-8.0.12的安裝目錄

????2.?下載boost_1_67_0

????wget?https://sourceforge.net/projects/boost/files/boost/1.67.0/boost_1_67_0.tar.gz/download?-O?../boost_1_67_0.tar.gz

????3.?解壓boost安裝包

????tar?-xzvf?../boost_1_67_0.tar.gz

????4. cmake編譯

????cmake . \

????-DWITH_BOOST=../boost_1_67_0/?

這樣就ok了


0 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

這個該怎么辦

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號