centos7编译安装mysql报错

报错信息如下:

CMake Error: Could not find cmake module file: /opt/mysql-5.6.31/CMakeFiles/2.8.12.2/CMakeCXXCompiler.cmake
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!

这是由于缺少make导致

解决办法:

yum install make -y

重新编译即可解决

发表评论

登录... 后才能评论