今天源码安装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
|
二、如果你的系统是Ubuntu或Debian:
1
2
|
apt-cache search ncurses
apt-get
install
libncurses5-dev
|
本文转自 xinsir999 51CTO博客,原文链接:http://blog.51cto.com/xinsir/1748935,如需转载请自行联系原作者