默認就沒有安裝此庫),就會出現錯誤,錯誤信息大體上如下:
*** 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
moran@linux:
解決方法很簡單,安裝ncurses庫即可,ubuntu/debian系統可採用如下命令進行安裝:
$sudo apt-get install libncurses5-dev
ncurses庫是字符終端下屏幕控制的基本庫,可能很多新開發的程序都不使用了,不過如果要編譯一些老程序,還經常用到。
轉自:http://blog.chinaunix.net/uid-23028407-id-115423.html
--------------------------分割線----------------------------
該方法可行!