[CMake] MySQL 5.5.17 설치시 오류 해결

CentOS 5.6 에서 CMake 로 MySQL 설치시 오류가 날 경우 해결 방법

— The CXX compiler identification is unknown
CMake Error: your CXX compiler: “CMAKE_CXX_COMPILER-NOTFOUND” was not found.   Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
— MySQL 5.5.17
— Configuring incomplete, errors occurred!

CMake 설치시 일부 패키지가 없어서 오류가 날 경우 다음의 패키지를 yum 으로 설치하면 된다.

No package libsdl-dev available.  => SDL-devel

No package libesd0-dev available. => esound-devel
No package libwxgtk2.6-dev available. => wxGTK-devel
No package build-essential available.  
=> yum groupinstall “Development Tools” “Development Libraries”
build-essential =>  yum install gcc 로도할수 있다.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *