-- MySQL 5.5.20
-- Could NOT find Threads  (missing:  Threads_FOUND)
CMake Error at configure.cmake:152 (LIST):
  list sub-command REMOVE_DUPLICATES requires list to be present.
Call Stack (most recent call first):
  CMakeLists.txt:246 (INCLUDE)
-- Could NOT find Threads  (missing:  Threads_FOUND)
-- Check if the system is big endian
-- Searching 16 bit integer
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:31 (MESSAGE):
  no suitable type found
Call Stack (most recent call first):
  configure.cmake:526 (TEST_BIG_ENDIAN)
  CMakeLists.txt:246 (INCLUDE)
-- Configuring incomplete, errors occurred!

请问是怎么回事?谢谢! 找出解决办法了,现在知道在编译安装 MySQL 5.5.x 之前,需要最少安装的包有:gcc、gcc-c++、cmake、ncurses-devel。我就是因为最后一个没有安装的原因所以才导致错误。嘿嘿:D 在编译安装 MySQL 5.5.x 之前,需要最少安装的包有:bison,gcc、gcc-c++、cmake、ncurses-devel,安装这些依赖包后,把原来解压出来的mysql源码目录删除掉,再重新解压出来,再去编译. 评论 ( 1 )