CentOS 6 编译mysql8 失败
一台老的服务器只能装centos6,今天安装lnmp, mysql 选择的是mysql 8,但是编译的时候失败以下是从日志中看到的:
-- /usr/bin/gcc is version 4.4.7
CMake Error at cmake/os/Linux.cmake:40 (MESSAGE):
GCC 4.8 or newer is required!
CentOS6 安装gcc版本是4.4.7,但是mysql 安装建议是最低5.3(但是看安装log,最低4.8即可) 升级gcc或升级到centos 7
centos升级gcc参考:https://www.vpser.net/manage/centos-6-upgrade-gcc.html
页:
[1]