error: No curses/termcap library found

简介:

今天源码安装mysql报错,信息如下:

1
2
3
4
5
6
7
8
9
checking  for  wchar_t  in  wchar.h...  yes
checking  for  wctype_t  in  wctype.h...  yes
checking  for  wint_t  in  wctype.h...  yes
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系列:

1
2
3
yum list| grep  ncurses
yum -y  install  ncurses-devel
yum  install  ncurses-devel


 

二、如果你的系统是UbuntuDebian

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










本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1748935,如需转载请自行联系原作者
目录
相关文章
|
C语言 Python Windows
gcc: error: /FIPython.h: File o directory non esistente
gcc: error: /FIPython.h: File o directory non esistente
114 0
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
224 0
configure: error: Library requirements (libpcre >= 7.8) not met
configure: error: Library requirements (libpcre >= 7.8) not met
129 0
|
Ubuntu
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
166 0
|
Ruby
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.错误解决办法
ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /usr/bin directory.错误解决办法
2555 0
|
Ubuntu Unix Linux
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决ERROR: Unable to find the development tool `make` in your path; please make sure that you have t
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2
成功解决OSError: dlopen() failed to load a library: cairo / cairo-2 / cairo-gobject-2 / cairo.so.2