源碼編譯mysql報錯解決

 [root@localhostmysql-5.5.11]# cmakemysql

出現如下錯誤提示:sql

-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readlineNaNake:82(MESSAGE):
  Curses library not found.  Pleaseinstall appropriate package,

      remove CMakeCache.txt andrerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat andderivates it is ncurses-devel.
Call Stack (most recent call first):
  cmake/readlineNaNake:126 (FIND_CURSES)
  cmake/readlineNaNake:216(MYSQL_USE_BUNDLED_LIBEDIT)
  CMakeLists.txt:250 (MYSQL_CHECK_READLINE)

app

 

-- Configuring incomplete, errors occurred!ide

解決方法:
ui

[root@localhost mysql-5.5.11]# rmCMakeCache.txtes5

[root@localhost mysql-5.5.11]# yum installncurses-develrem

Warning: Bison executable not found in PATH
-- Configuring done
-- Generating done
-- Build files have been written to:/software/mysql-5.5.11

it

相關文章
相關標籤/搜索