1. 程式人生 > >ubuntu 10.10下編譯linux核心make menuconfig報 'make menuconfig' requires the ncurses libraries 等錯誤

ubuntu 10.10下編譯linux核心make menuconfig報 'make menuconfig' requires the ncurses libraries 等錯誤

Problem:

在ubuntu 10.10下編譯linux核心出現如下錯誤:

[email protected]:/$sudo  make menuconfig
 *** 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

Solution:

sudo apt-get install libcurses dev

OR

sudo apt-get install libncurses*