免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4535 | 回复: 6
打印 上一主题 下一主题

mysql5.5.11用cmake配置时报错,求解 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-06-30 09:15 |只看该作者 |倒序浏览
报错内容如下:
  1. [root@bogon mysql-5.5.11]# cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql
  2. -- MySQL 5.5.11
  3. -- Could NOT find Curses (missing:  CURSES_LIBRARY CURSES_INCLUDE_PATH)
  4. CMake Error at cmake/readline.cmake:82 (MESSAGE):
  5.   Curses library not found.  Please install appropriate package,

  6.       remove CMakeCache.txt and rerun cmake.On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates it is ncurses-devel.
  7. Call Stack (most recent call first):
  8.   cmake/readline.cmake:126 (FIND_CURSES)
  9.   cmake/readline.cmake:216 (MYSQL_USE_BUNDLED_LIBEDIT)
  10.   CMakeLists.txt:250 (MYSQL_CHECK_READLINE)
复制代码
可是ncurses-devel我已经安装了,
  1. [root@bogon mysql-5.5.11]# rpm -q ncurses-devel
  2. ncurses-devel-5.5-24.20060715
  3. [root@bogon mysql-5.5.11]# rpm -q ncurses
  4. ncurses-5.5-24.20060715
复制代码
请问哪位能告诉我问题出在哪儿了呢?

论坛徽章:
0
2 [报告]
发表于 2011-06-30 09:46 |只看该作者
回复 1# okrush


Curses library not found

论坛徽章:
0
3 [报告]
发表于 2011-06-30 10:10 |只看该作者
可是我已经装了ncurses和ncurses-devel啊
顺便说一下,我的系统是centos5.5

论坛徽章:
0
4 [报告]
发表于 2011-06-30 10:13 |只看该作者
回复 1# okrush


确定安装了 就删除CMakeCache.txt  再cmake 看看

论坛徽章:
0
5 [报告]
发表于 2011-06-30 10:35 |只看该作者
删除CMakeCache.txt后倒是可以配置了,
可是make编译的时候重复出现了两种报错很多次

警告:类型双关作用在不完全类型上可能破坏强重叠规则
警告:提领类型双关的指针将破坏强重叠规则

不明白这个报错是因为什么。

论坛徽章:
0
6 [报告]
发表于 2011-06-30 12:00 |只看该作者
回复 6# okrush


没事   不影响  有人问过说过

论坛徽章:
0
7 [报告]
发表于 2011-06-30 13:07 |只看该作者
应该是没啥问题

楼下的你说是吧
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP