Chinaunix首页 | 论坛 | 博客
  • 博客访问: 304452
  • 博文数量: 79
  • 博客积分: 3458
  • 博客等级: 中校
  • 技术积分: 921
  • 用 户 组: 普通用户
  • 注册时间: 2010-05-25 17:09
个人简介

自、管

文章分类

全部博文(79)

文章存档

2013年(7)

2012年(20)

2011年(18)

2010年(34)

分类: Mysql/postgreSQL

2010-07-22 18:32:44

环境:CentOS linux 5.5
系统只安装VI编辑器与开发工具
 
在编辑MYSQL时:
#./configure --prefix=/usr/local/mysql --with-charset=gb2312  --with-extra-charsets=all
执行后出现如下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
 
解决方法:
编译时加上路径即可解决,即
#./configure --prefix=/usr/local/mysql --with-charset=gb2312  --with-extra-charsets=all --with-named-curses-libs=/usr/lib/libncurses.so.5


如果是Ubuntu,需要安装.sudo apt-get install libncurses5-dev
如果Ubuntu上安装了VMwareTools-版本号.tar.gz则不需要安装libncurses5-dev,在编译时加上
--with-named-curses-libs=/usr/lib/libncurses.so.5
就可以


本文来自CSDN博客,转载请标明出处:http://blog.csdn.net/xiaolang85/archive/2010/03/03/5343082.aspx

阅读(691) | 评论(0) | 转发(0) |
0

上一篇:linux目录操作函数

下一篇:安装g++

给主人留下些什么吧!~~