Curses library not found. Please install appropriate package
清泛原创
CentOS安装MySql报错:
-- 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:325 (MYSQL_CHECK_EDITLINE)
-- Configuring incomplete, errors occurred!
从上面的错误中我们可以很清楚的看到缺少两个依赖包,我们用yum安装一下即可!
# yum install –y openssl openssl-devel ncurses ncurses-devel
下面我们再次编译一下,可能还会报同样的错误,不要着急,删除当前目录下CMakeCache.txt文件并重新编译,再次运行cmake命令就会正常!
上一篇:Citrix服务器虚拟化:XenApp 6.5发布服务器上的应用程序
下一篇:xml2-config not found. Please check your libxml2 installation