MySQL 5.7.17 安裝報錯CMake Error at cmake/boost.cmake:81 (MESSAGE)
MySQL5.7.17在cmake的時候報錯如下:
點選(此處)摺疊或開啟
- CMake Error at cmake/boost.cmake:81 (MESSAGE):
- You can download it with -DDOWNLOAD_BOOST=1 -DWITH_BOOST=
- This CMake script will look for boost in . 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=
- Call Stack (most recent call first):
- cmake/boost.cmake:238 (COULD_NOT_FIND_BOOST)
- CMakeLists.txt:455 (INCLUDE)
- -- Configuring incomplete, errors occurred!
- See also "/root/mysqlsoftware/mysql-5.7.17/CMakeFiles/CMakeOutput.log".
- See also "/root/mysqlsoftware/mysql-5.7.17/CMakeFiles/CMakeError.log".
1.在/usr/local下建立一個名為boost的資料夾
mkdir -p /usr/local/boost
2.進入這個新建立的資料夾然後下載boost
wget 3.解壓
tar -xvzf boost_1_59_0.tar.gz
4.繼續cmake,新增上紅色部分
cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/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 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
-DCOMPILATION_COMMENT='Mysqlma' \
-DWITH_READLINE=ON \
-DWITH_BOOST=/usr/local/boost \
-DSYSCONFDIR=/data/mysqldata/3306 \
-DMYSQL_UNIX_ADDR=/data/mysqldata/3306/mysql.sock
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2133137/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- cmake報錯CMake Error: Could not find CMAKE_ROOTError
- CMake Error at cmake/readline.cmake:85 (MESSAGE): Curses library not found.Error
- MySQL 5.7.17 安裝報錯SSL error: Unable to get private key fromMySqlError
- Mysql-5.5.32 cmake安裝MySql
- CMAKE安裝mysql5.5MySql
- mysql5.6的安裝(cmake)MySql
- Mysql安裝過程中CMAKE編譯出錯MySql編譯
- (CMake):CMake安裝及快速入門案例
- ubuntu安裝CMakeUbuntu
- MYSQL 5.6 安裝時cmake引數MySql
- mysql在linux上cmake安裝方法(自己安裝版)MySqlLinux
- CMake的安裝和使用
- CentOS下安裝配置cmakeCentOS
- windows安裝cmake、opencv、qtWindowsOpenCVQT
- MySQL 5.5編譯安裝cmake引數說明MySql編譯
- Linux 安裝 mysql 5.5.8(cmake原始碼安裝mysql5.5以上版本)[轉]LinuxMySql原始碼
- Windows下CMake編譯安裝OpenCVWindows編譯OpenCV
- Mysql 5.7.17 編譯安裝MySql編譯
- CentOS6.7下使用cmake編譯安裝MySQL5.5.32CentOS編譯MySql
- mysql5.5資料庫cmake原始碼編譯安裝MySql資料庫原始碼編譯
- 【CMake】掌握CMake基本操作
- 在Linux Mint中安裝Clion遇到CMake Error的解決辦法LinuxError
- 在CentOS 6.3中安裝與配置cmakeCentOS
- mysql-5.7.17-winx64安裝MySql
- CMake 簡介和 CMake 模板
- CMake出錯的處理
- cmake
- mysql 5.7.21 CMake Error: The source directory "/data/server/mysql" does not appear to contain CMakMySqlErrorServerAPPAI
- CMake 學習【七】—— 生成一個安裝器
- CentOS 6.5下快速安裝MySQL 5.7.17CentOSMySql
- MySQL 5.7.17 for WIN8安裝初探MySql
- Oracle安裝報錯syntax errorOracleError
- MariaDB 10.1原始碼安裝報錯"Unknown CMake command "CHECK_CXX_SYMBOL_EXISTS""原始碼Symbol
- cmake 模板
- cmake cuda
- cmake + JNI
- CMake 使用
- MySQL 5.5 原始碼安裝報錯"[ERROR] Can't start server"MySql原始碼ErrorServer