CMake Error: Curses library not found. Please install appropriate package

編譯安裝MySQL的時候,出現錯誤:app

-- 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.
      
解決辦法:
rm -f CMakeCache.txt
yum -y install ncurses-develes5

相關文章
相關標籤/搜索