文章目录
一:cmake报错问题
1.1:报错CMake Error at cmake/os/Linux.cmake:41 (MESSAGE):
- 手工编译安装mysql,cmake时报错:
- 报错内容如下:
- – Running cmake version 2.8.12.2
– Could NOT find Git (missing: GIT_EXECUTABLE)
– Configuring with MAX_INDEXES = 64U
– The C compiler identification is unknown
– The CXX compiler identification is unknown
CMake Error: your C compiler: “CMAKE_C_COMPILER-NOTFOUND” was not found. Please set CMAKE_C_COMPILER to a valid compiler path or name.
CMake Error: your CXX compiler: “CMAKE_CXX_COMPILER-NOTFOUND” was not found. Please set CMAKE_CXX_COMPILER to a valid compiler path or name.
CMake Error at cmake/os/Linux.cmake:41 (MESSAGE):
Unsupported compiler!
Call Stack (most recent call first):
CMakeLists.txt:162 (INCLUDE)