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