q29191 发表于 2018-10-1 10:30:36

mysql-5.6.27源码安装及错误解决办法

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.  
Please set them or make sure they are set and tested correctly in the CMake files:
  
OPENSSL_INCLUDE_DIR
  
   used as include directory in directory /usr/local/src/mysql-5.6.27/CMakeFiles/CMakeTmp
  
CMake Error: Internal CMake error, TryCompile configure of cmake failed
  
-- Check size of wchar_t - failed
  
-- Check size of wctype_t
  
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  
Please set them or make sure they are set and tested correctly in the CMake files:
  
OPENSSL_INCLUDE_DIR
  
   used as include directory in directory /usr/local/src/mysql-5.6.27/CMakeFiles/CMakeTmp
  
CMake Error: Internal CMake error, TryCompile configure of cmake failed
  
-- Check size of wctype_t - failed
  
-- Check size of wint_t
  
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
  
Please set them or make sure they are set and tested correctly in the CMake files:
  
OPENSSL_INCLUDE_DIR
  
   used as include directory in directory /usr/local/src/mysql-5.6.27/CMakeFiles/CMakeTmp
  
CMake Error: Internal CMake error, TryCompile configure of cmake failed
  
-- Check size of wint_t - failed
  
-- Could NOT find Curses (missing:CURSES_LIBRARY CURSES_INCLUDE_PATH)
  
CMake Error at cmake/readline.cmake:85 (MESSAGE):
  
Curses library not found.Please install appropriate package,
  
      remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
  
Call Stack (most recent call first):
  
cmake/readline.cmake:128 (FIND_CURSES)
  
cmake/readline.cmake:202 (MYSQL_USE_BUNDLED_EDITLINE)
  
CMakeLists.txt:409 (MYSQL_CHECK_EDITLINE)
  
-- Configuring incomplete, errors occurred!
  
See also "/usr/local/src/mysql-5.6.27/CMakeFiles/CMakeOutput.log".
  
See also "/usr/local/src/mysql-5.6.27/CMakeFiles/CMakeError.log".


页: [1]
查看完整版本: mysql-5.6.27源码安装及错误解决办法