编译Linux内核时错误 Unable to find the ncurses libraries

来源:互联网 发布:无锡市网络作家协会 编辑:程序博客网 时间:2024/04/28 03:27

编译Linux内核时,执行make menuconfig出现如下错误:

root@ubuntu:/mnt/hgfs/LinuxShare/linux-3.10.5# make menuconfig

  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.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] Error 1

make: *** [menuconfig] Error 2


解决方法如下:

sudo apt-get install ncurses-dev


原创粉丝点击