执行make menuconfig报错

2147阅读 0评论2012-09-07 hk2305621
分类:LINUX

平台: oracle virtualbox + ubuntu 11.04.
问题: 执行 make menuconfig 报错.
  1. root@hunk-VirtualBox:/usr/src/linux-3.4.10# make menuconfig
  2.  *** Unable to find the ncurses libraries or the
  3.  *** required header files.
  4.  *** 'make menuconfig' requires the ncurses libraries.
  5.  ***
  6.  *** Install ncurses (ncurses-devel) and try again.
  7.  ***
  8. make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
  9. make: *** [menuconfig] Error 2

原因: 确实 ncurse-devel 库.
 
解决:执行 sudo apt-get install libncurses5-dev 命令, 安装缺乏的库.就OK.
上一篇:USB通信流
下一篇:VirtualBox虚拟vdi磁盘扩容