make menuconfig錯誤的解決辦法

如果使用make menuconfig的方式配置內核,又碰巧系統沒有安裝ncurses庫(ubuntu系統
默認就沒有安裝此庫),就會出現錯誤,錯誤信息大體上如下:
*** 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


--------------------------分割線----------------------------

操作系統:Ubuntu 12.04LTS

該方法可行!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章