今天在编译linux内核的时候发现这个问题:
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] 错误 1
make: *** [menuconfig] 错误 2
ncurses是字符终端下屏幕控制的基本库。打开一个终端输入下面这条语句按回车进行安装即可。
apt-get install libncurses5-dev
阅读(1668) | 评论(0) | 转发(0) |