MySQL5.5.X安装错误处理

1.linux安装mysql出现Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)
解决办法:
[root@localhost mysql-5.5.11]#rm CMakeCache.txt
[root@localhost mysql-5.5.11]#yum install ncurses-devel
[root@localhost mysql-5.5.11]#yum install bison
2.CMake Error at /usr/share/cmake/Modules/CMakeCXXInformation.cmake:17 (GET_FILENAME_COMPONENT):
 CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
 CMake Error: Internal CMake error, TryCompile configure of cmake failed
解决办法:
[root@localhost mysql-5.5.11]#yum install gcc gcc-c++ -y

本文出自 “咚咚的博客” 博客,转载请与作者联系!

你可能感兴趣的:(mysql,安装,错误)