CentOS安装emacs出现The required function `tputs' was n

CentOS下安装emacs24.3出现以下错误:

checking for library containing tputs... no
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.

解决方案:安装ncurses-devel

sudo yum install ncurses-devel

你可能感兴趣的:(CentOS安装emacs出现The required function `tputs' was n)