在Centos 6.4中,配置Emacs时

10
在CentOS 6.4中配置Emacs时,会显示:
configure: error: The required function `tputs' was not found in any library.
The following libraries were tried (in order):
  libtinfo, libncurses, libterminfo, libtermcap, libcurses
Please try installing whichever of these libraries is most appropriate
for your system, together with its header files.
For example, a libncurses-dev(el) or similar package.

如何修复它,它有什么问题。

3个回答

19
sudo yum install ncurses-devel

然后再次执行./configure


9
尝试使用以下命令安装libncurses-dev库:bash apt-get install libncurses-dev

0

我正在使用基于Debian Wheezy的发行版(CrunchBang)
尝试安装Emacs 24.5.1
不得不安装libncurses5-dev,然后运行./configure

$ sudo apt-get install ncurses-devel
...
E: Unable to locate package ncurses-devel
$ sudo apt-get install libncurses5-dev

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接