[xin@localhost mysql-5.7.17]$ cmake \
> -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \
> -DMYSQL_DATADIR=/usr/local/mysql/data \
> -DSYSCONFDIR=/etc \
> -DMYSQL_USER=mysql \
> -DWITH_MYISAM_STORAGE_ENGINE=1 \
> -DWITH_INNOBASE_STORAGE_ENGINE=1 \
> -DWITH_ARCHIVE_STORAGE_ENGINE=1 \
> -DWITH_MEMORY_STORAGE_ENGINE=1 \
> -DWITH_READLINE=1 \
> -DMYSQL_UNIX_ADDR=/usr/local/mysql/data/mysql.sock \
> -DMYSQL_TCP_PORT=3306 \
> -DENABLED_LOCAL_INFILE=1 \
> -DENABLED_DOWNLOADS=1 \
> -DWITH_PARTITION_STORAGE_ENGINE=1 \
> -DEXTRA_CHARSETS=all \
> -DDEFAULT_CHARSET=utf8 \
> -DDEFAULT_COLLATION=utf8_general_ci \
> -DWITH_DEBUG=0 \
> -DMYSQL_MAINTAINER_MODE=0 \
> -DWITH_SSL:STRING=bundled \
> -DWITH_ZLIB:STRING=bundled
-- Running cmake version 2.8.12.2
-- Configuring with MAX_INDEXES = 64U
-- SIZEOF_VOIDP 8
-- MySQL 5.7.17
-- Packaging as: mysql-5.7.17-Linux-x86_64
-- Downloading boost_1_59_0.tar.gz to /usr/share/doc/boost-doc-1.41.0
CMake Error at cmake/boost.cmake:171 (FILE):
file DOWNLOAD error: cannot create directory
'/usr/share/doc/boost-doc-1.41.0' - Specify file by full path name and
verify that you have directory creation and file write privileges.
Call Stack (most recent call first):
CMakeLists.txt:455 (INCLUDE)
-- Download failed, error:
CMake Error at cmake/boost.cmake:194 (MESSAGE):
You can try downloading
http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz
manually using curl/wget or a similar tool
Call Stack (most recent call first):
CMakeLists.txt:455 (INCLUDE)
-- Configuring incomplete, errors occurred!
See also "/home/xin/mysql-5.7.17/CMakeFiles/CMakeOutput.log".
See also "/home/xin/mysql-5.7.17/CMakeFiles/CMakeError.log".
[xin@localhost mysql-5.7.17]$