-- 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:127 (FIND_CURSES)
cmake/readline.cmake:217 (MYSQL_USE_BUNDLED_LIBEDIT)
CMakeLists.txt:257 (MYSQL_CHECK_READLINE)
-- Configuring incomplete, errors occurred!
解决方法:
安装ncurses-devel
yum -y install ncurses-devel
删除CMakeCache.txt
转载于:https://blog.51cto.com/zhudiqingyin/1316305
本文提供了解决CMake配置错误的方法,详细介绍了如何安装ncurses-devel库和删除CMakeCache.txt文件来解决找不到Curses库的问题。
560

被折叠的 条评论
为什么被折叠?



