標籤:ubuntu pre not rem could stream library remove article
每次安裝mysql5.5的時候總會報出一下錯誤:
-- Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) -- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH) CMake Error at cmake/readline.cmake:83 (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:118 (FIND_CURSES)cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)CMakeLists.txt:257 (MYSQL_CHECK_READLINE)
-- Configuring incomplete, errors occurred!配置無法繼續.
這裡有一個好的方法。
就是使用例如以下語句:
rm -f CMakeCache.txt
刪除剛才編譯產生的 CMakeCache.txt 檔案
安裝 ncurses-devel 包yum install ncurses-devel
Curses library not found. Please install appropriate package