問題描述:
利用Cmake 編譯mysql-5.5.8版本時,出現
-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
CMake Error at cmake/readline.cmake:82 (MESSAGE):
Curses library not found. Please install appropriate package,
錯誤
解決方法:
顯示缺少libcurse library,建議安裝libncurses5-dev包
yum –y install libncures5-*
如果存在,find / -name libncurses*
cmake . -DCURSES_LIBRARY=/usr/lib/libncurses.so -DCURSES_INCLUDE_PATH=/usr/include即可解決
本文轉自 geekwolf 51CTO部落格,原文連結:http://blog.51cto.com/linuxgeek/997907