在安装mysql的时候,有时会报curses not found的错误
...
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):
...
解决方法:
rm -f /xxx/mysql*/CMakeCache.txt
yum -y install ncurses-devel
然后再用camke编译即可
本文出自 “点滴记录与你分享” 博客,请务必保留此出处http://xkai20.blog.51cto.com/854040/1691990
原文地址:http://xkai20.blog.51cto.com/854040/1691990