码迷,mamicode.com
首页 > 数据库 > 详细

安装mysql报curses的解决

时间:2015-09-06 18:23:36      阅读:168      评论:0      收藏:0      [点我收藏+]

标签:curses not found cmake

在安装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

安装mysql报curses的解决

标签:curses not found cmake

原文地址:http://xkai20.blog.51cto.com/854040/1691990

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!