linux终端错误:Unable to find the澳门新葡亰赌995577 ncurses libraries or the requir

澳门新葡亰赌995577 2

Ubuntu
下编译Linux内核时,在命令行输入:

linux终端错误:Unable to find the ncurses libraries or the required
header files解决
 

make menuconfig

在linux系统中的fedora10系统中使用终端输出命令:make
menuconfig时,出现入下错误

后,出现如下错误:

澳门新葡亰赌995577 1

*** 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

 

上述错误是说,执行make menuconfig 命令需要安装ncurses-dev

解决方式如下所示:
澳门新葡亰赌995577 2

澳门新葡亰赌995577,解决方案:

 

在命令行中输入:

然后就可以用make menuconfig命令来打开菜单设置了:

sudo apt-get install libncurses5-dev