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

源码编译mysql-5.1.17 软件,./configure的时候报错:

checking for tgetent in -lncursesw... no
checking for tgetent in -lncurses... no
checking for tgetent in -lcurses... no
checking for tgetent in -ltermcap... no
checking for tgetent in -ltinfo... no
checking for termcap functions library... configure: error: No curses/termcap library found

解决办法:

下载安装相应软件包

一、如果你的系统是RedHat系列:

yum list|grep ncurses
yum -y install ncurses-devel
yum install ncurses-devel

二、如果你的系统是Ubuntu或Debian:

apt-cache search ncurses
apt-get install libncurses5-dev

待安装completed!之后,再./configure,顺利通过,然后make && make install,成功安装,一切OK!~~~

时间: 2024-12-20 08:22:52

checking for termcap functions library... configure: error: No curses/termcap library found的相关文章

报错:checking for termcap functions library... configure: error: No curses/termca

解决: yum -y install ncurses-devel

error: no curses/termcap library found

[[email protected] mysql-5.1.73]# ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install..

error: No curses/termcap library found的解决办法

mysql版本:5.1.30 已经不记得这次是第几次安装mysql了,遇到这个问题倒是第一次. 之前在tar,./configure,make,make install 经典四步时,从来没有想过其中的过程,只觉得像例行公事一样,做就是了. 不幸的是,这次在./configure后,make时出现以下错误: make: *** No targets specified and no makefile found. stop. 本来这次还是想向别人请教的,后来转念一想,前段时间还告诉自己:遇到问题,

linux非root用户安装ncurses-devel依赖,解决configure: error: No curses library functions found

很明显,如果我们通过yum或rpm下载安装,始终无法绕开root用户,除非我们不用yum或rpm.是的,我们直接下载源码包,到ftp.gnu.org/pub/gnu/ncurses/我们可以下到最新的源码包ncurses-6.1.tar.gz,通过rz上传至非root用户wlf的soft目录下,回到根目录,我们把源码包解压: $ tar xzvf soft/ncurses-6.1.tar.gz 进入解压后目录,执行软件配置: $ cd ncurses-6.1 $ ./configure --pr

zabbix3.x安装出现“configure: error: Not found mysqlclient library”的解决办法

如题所示,在CentOS6.x的系统中安装zabbix3.x,使用了以下的编译命令: ./configure --prefix=/usr/local/zabbix --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl --with-libxml2 在编译时,可能会出现题目中所示的错误,可以通过安装mysql-devel这个库解决: [[email protected] za

zabbix编译安装,安装mysql数据库:configure: error: Not found mysqlclient library

在编译时,可能会出现题目中所示的错误,可以通过安装mysql-devel这个库解决: # yum install mysql-devel 注:如果出现“configure: error : Not found NET-SNMP library”,那么可以安装“net-snmp-devel”来解决: #yum install net-snmp-devel 原文地址:https://www.cnblogs.com/cxq20190307/p/10742447.html

安装iamp模块,编译报错configure: error: Cannot find imap library (libc-client.a). Please check your c-client installation.

yum install libc-client-devel cd /root/lnmp1.0-full/php-5.3.17/ext/imap /usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/php/bin/php-config --with-kerberos --with-imap-ssl 执行./configure --with-php-config=/usr/local/php/bin/php-confi

MySQL编译安装错误:No curses/termcap library found的解决方法

CentOS编译安装MySQL,./coonfigure时出现错误: checking for termcap functions library... configure: error: No curses/termcap library found 解决方法:安装 1.下载网址:ftp://invisible-island.net/ncurses/ # tar -zvxf ncurses-5.7.tar.gz # ./configure # make # make install 2.安装了

No curses/termcap library found

CentOS6.5中编译Mysql时遇见如下错误 error: No curses/termcap library found checking for tgetent in -lncurses... no checking for tgetent in -lcurses... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for termcap function