VPS侦探论坛

标题: MySQL install failed. [打印本页]

作者: DaoyongD    时间: 2018-11-10 22:59
标题: MySQL install failed.
就MySQL安装失败,其他都成功
作者: licess    时间: 2018-11-11 11:03
-- CMAKE_GENERATOR: Unix Makefiles
CMake Error at cmake/os/Linux.cmake:40 (MESSAGE):
  GCC 4.8 or newer is required!
Call Stack (most recent call first):
  CMakeLists.txt:239 (INCLUDE)


-- Configuring incomplete, errors occurred!

centos 6是装不了mysql 8.0的,mysql 8.0至少要gcc 4.8才行,centos 6的gcc才4.4
作者: Ang    时间: 2018-11-11 12:46
如果是64位的CentOS的话,其实有一个变通办法,当然这样一来楼主就不能直接用LNMP的一键安装包了。
https://www.softwarecollections.org/en/scls/rhscl/devtoolset-7/

这里头的GCC足够支撑了。




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4