容器技术交流

 找回密码
 立即注册
查看: 2867|回复: 0

安装mysql时出现 checking for termcap functions library...

[复制链接]
发表于 2010-5-3 09:08:16 | 显示全部楼层 |阅读模式
本帖最后由 faster 于 2010-5-3 09:14 编辑

安装mysql时出现

checking for termcap functions library... configure: error: No curses/termcap library found





百度找到的方法:
在编译Mysql时
./configure --prefix=DIR
,如果出现了以下错误:
......
checking for tgetent in -ltermcap... no
checking for termcap functions library... configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装
apt-cache search curses | grep lib
安装 libncurses5-dev ,然后重新运行配置
apt-get install libncurses5-dev





library… configure: error: No curse
来源: 作者: 时间:2009-07-14 Tag: 点击: 64

如果编译时出现了以下错误:
checking for tgetent in -ltermcap… no
checking for termcap functions library… configure: error: No curses/termcap library found
说明 curses/termcap 库没有安装
去下载一个ncurses-5.6.tar.gz,
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
tar zxvf ncurses-5.6.tar.gz
cd ncurses-5.6
./configure -prefix=/usr -with-shared -without-debug
make
make install clean
然后再重新编译Mysql进行安装。


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-12 09:07 , Processed in 0.026914 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表