为了账号安全,请及时绑定邮箱和手机立即绑定

centos6.6 32位安装 mysql5.7.16 报错

[root@bogon ~]# cd mysql-5.7.16

[root@bogon mysql-5.7.16]# cmake \

> -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \

> -DMYSQL_DATADIR=/mydata/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=/var/run/mysql/mysql.sock \

> -DMYSQL_TCP_PORT=3306 \

> -DENABLED_LOCAL_INFILE=1 \

> -DENABLE_DOWNLOADS=1 \

> -DWITH_PARTITION_STORAGE_ENGINE=1 \

> -DEXTRA_CHARSET=all \

> -DDEFAULT_CHARSET=utf8 \

> -DDEFAULT_COLLATION=utf8_general_ci \

> -DWITH_DEBUG=0 \

> -DMYSQL_MAINTAINER_MODE=0 \

> -DWITH_SSL:STRING=bundled \

> -DWITH_ZLIB:STRING=bundled \

> -DDOWNLOAD_BOOST=1 \

> -DWITH_BOOST=/usr/local/boost

-- Running cmake version 2.8.12.2

-- Could NOT find Git (missing:  GIT_EXECUTABLE) 

-- Configuring with MAX_INDEXES = 64U

-- SIZEOF_VOIDP 4

-- MySQL 5.7.16

-- Packaging as: mysql-5.7.16-Linux-i686

-- Downloading boost_1_59_0.tar.gz to /usr/local/boost

-- [download 100% complete]

-- [download 0% complete]

^C

[root@bogon mysql-5.7.16]# cmake \

> -DCMAKE_INSTALL_PREFIX=/usr/local/mysql \

> -DMYSQL_DATADIR=/mydata/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=/var/run/mysql/mysql.sock \

> -DMYSQL_TCP_PORT=3306 \

> -DENABLED_LOCAL_INFILE=1 \

> -DENABLE_DOWNLOADS=1 \

> -DWITH_PARTITION_STORAGE_ENGINE=1 \

> -DEXTRA_CHARSET=all \

> -DDEFAULT_CHARSET=utf8 \

> -DDEFAULT_COLLATION=utf8_general_ci \

> -DWITH_DEBUG=0 \

> -DMYSQL_MAINTAINER_MODE=0 \

> -DWITH_SSL:STRING=bundled \

> -DWITH_ZLIB:STRING=bundled \

> -DWITH_BOOST=/usr/local/boost

-- Running cmake version 2.8.12.2

-- Could NOT find Git (missing:  GIT_EXECUTABLE) 

-- Configuring with MAX_INDEXES = 64U

-- SIZEOF_VOIDP 4

-- MySQL 5.7.16

-- Packaging as: mysql-5.7.16-Linux-i686

-- Local boost zip /usr/local/boost/boost_1_59_0.tar.gz

-- cd /usr/local/boost; tar xfz /usr/local/boost/boost_1_59_0.tar.gz

CMake Error: Problem with archive_read_next_header(): Truncated input file (needed 20992 bytes, only 0 available)

CMake Error: Problem extracting tar: /usr/local/boost/boost_1_59_0.tar.gz

-- WITH_BOOST /usr/local/boost.

-- Failed to extract files.

   Please try downloading and extracting yourself.

   The url is: http://sourceforge.net/projects/boost/files/boost/1.59.0/boost_1_59_0.tar.gz

CMake Error at cmake/boost.cmake:217 (MESSAGE):

  Giving up.

Call Stack (most recent call first):

  CMakeLists.txt:455 (INCLUDE)



-- Configuring incomplete, errors occurred!

See also "/root/mysql-5.7.16/CMakeFiles/CMakeOutput.log".


正在回答

2 回答

好像是下载出错了

0 回复 有任何疑惑可以回复我~
#1

512205584 提问者

非常感谢!
2017-02-06 回复 有任何疑惑可以回复我~

好的,我重新下载个试试

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

举报

0/150
提交
取消
PHP环境LAMP/LNMP安装与配置
  • 参与学习       45303    人
  • 解答问题       224    个

本课程适于PHP初学者,手把手教你LAMP/LNMP环境安装配置

进入课程

centos6.6 32位安装 mysql5.7.16 报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信