這個(gè)該怎么辦
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".
2018-09-17
你這個(gè)問題?和我的一樣? 都是因?yàn)榘惭b的Mysql-8.0.12? 導(dǎo)致就算用yum安裝了boost,也會(huì)因?yàn)榘姹緦Σ簧隙鴪?bào)錯(cuò)
解決方法:
????1.?進(jìn)入Mysql-8.0.12的安裝目錄
????2.?下載boost_1_67_0
????3.?解壓boost安裝包
????4. cmake編譯
????cmake . \
????-DWITH_BOOST=../boost_1_67_0/?
這樣就ok了