1. 程式人生 > >執行make menuconfig出錯問題

執行make menuconfig出錯問題

[email protected]:~/linux/tiny6410/linux-2.6.38$ make menuconfig
  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] Error 1
make: *** [menuconfig] Error 2
解決辦法: sudo apt-get install ncurses-devel 出現新的問題unable to locate package ncurses-devel, 缺少libncurses,安裝上它就可以了, sudo apt-get install libncurses-dev