cmake 提示缺失依赖
-- 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:118 (FIND_CURSES)
cmake/readline.cmake:214 (MYSQL_USE_BUNDLED_READLINE)
CMakeLists.txt:388 (MYSQL_CHECK_READLINE)
-- Configuring incomplete, errors occurred!
See also "/www/server/mysql/src/CMakeFiles/CMakeOutput.log".
See also "/www/server/mysql/src/CMakeFiles/CMakeError.log".
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可以创建目标“install”。 停止。
apt-get install libncurses5-dev后问题解决 |