Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)

问答中心分类: OneinStackCould NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
匿名用户 asked 9年 ago

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.
Call Stack (most recent call first):
cmake/readline.cmake:128 (FIND_CURSES)
cmake/readline.cmake:202 (MYSQL_USE_BUNDLED_EDITLINE)
CMakeLists.txt:409 (MYSQL_CHECK_EDITLINE)

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
MySQL install failed, Please contact the author!
Killed
/bin/cp: cannot stat ‘/usr/local/mysql/support-files/mysql.server’: No such file or directory
chmod: cannot access ‘/etc/init.d/mysqld’: No such file or directory

 
怎么解决?我机器上显示装过libncurses5,所以libncurses5-dev安装不上~~~
 

1 Answers
oneinstack answered 9年 ago
请不要更新操作系统试试