ncurses

新装了个精简版的ubnutu,只有字符界面。

编译内核 linux-3.3.4

  
  
  
  
  1. # 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

少裤子了,,ncurses是字符终端下屏幕控制的基本库,menuconfig那种界面必须要用到它了,果断装之.

  
  
  
  
  1. #apt-get install libncurses5-dev 

ok.就这样,为什么叫 libncurses5-dev.搞不懂,百度的...不懂。希望以后会懂...

 

你可能感兴趣的:(ncurses,字符界面,编译内核,精简版Ubuntu)