-- Could not find (the correct version of) boost.-- MySQL currently requires boost_1_57_0CMake Error at cmake/boost.cmake:76 (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 http proxy:export http_proxy=http://example.com:80Call Stack (most recent call first):cmake/boost.cmake:259 (COULD_NOT_FIND_BOOST)CMakeLists.txt:452 (INCLUDE)-- Configuring incomplete, errors occurred!See also "/root/mysql-5.7.7-rc/CMakeFiles/CMakeOutput.log".
2 回答
HUH函数
TA贡献1836条经验 获得超4个赞
[root@Lnmp mysql-5.7.9]# cmake \
-DCMAKE_INSTALL_PREFIX=/byrd/service/mysql-5.7.9
-DMYSQL_DATADIR=/byrd/service/mysql-5.7.9/data
-DMYSQL_UNIX_ADDR=/byrd/service/mysql-5.7.9/tmp/mysql.sock
-DMYSQL_USER=mysql
-DDEFAULT_CHARSET=utf8
-DDEFAULT_COLLATION=utf8_general_ci
-DENABLED_LOCAL_INFILE=ON
-DWITH_INNOBASE_STORAGE_ENGINE=1
-DWITH_FEDERATED_STORAGE_ENGINE=1
-DWITH_BLACKHOLE_STORAGE_ENGINE=1
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1
-DDOWNLOAD_BOOST=1 -DWITH_BOOST=/usr/local/boost
红糖糍粑
TA贡献1815条经验 获得超6个赞
添加回答
举报
0/150
提交
取消