root 发表于 2018-9-30 07:01:44

Mysql 错误以及解决办法

# cmake . -DCMAKE_INSTALL_PREFIX=/usr/local/mysql5/  
-- Running cmake version 2.6.4
  
CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".CMAKE_MAKE_PROGRAM is not set.You probably need to select a different build tool.
  
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
  
Missing variable is:
  
CMAKE_C_COMPILER_ENV_VAR
  
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
  
Missing variable is:
  
CMAKE_C_COMPILER
  
CMake Error: Could not find cmake module file:/root/mysql-5.5.31/CMakeFiles/CMakeCCompiler.cmake
  
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
  
Missing variable is:
  
CMAKE_CXX_COMPILER_ENV_VAR
  
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly.
  
Missing variable is:
  
CMAKE_CXX_COMPILER
  
CMake Error: Could not find cmake module file:/root/mysql-5.5.31/CMakeFiles/CMakeCXXCompiler.cmake
  
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
  
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
  
-- Configuring incomplete, errors occurred!


页: [1]
查看完整版本: Mysql 错误以及解决办法