1. 程式人生 > >make menuconfig提示'make menuconfig' requires the ncurses libraries解決方法

make menuconfig提示'make menuconfig' requires the ncurses libraries解決方法

很長時間沒搞LinuxKernel的裁剪,最近要搞點東西,所以下了個最新的原始碼,想定製一個核心,在執行make menucofig的時候,居然提示如下:

*** 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 libraries,果斷搜一下,如下命令:

sudo apt-cache search ncurses

然後提示一大堆,不貼出來了,瞬間汗死。

Google了一下,原來只需要安裝libncurses5-dev就可以了,執行如下命令:

sudo apt-get install libncurses5-dev

然後再次make menuconfig,木問題了~~~

那麼ncurses是個毛線呢?谷歌上wiki去吧~(連結:http://zh.wikipedia.org/wiki/Ncurses)

轉自:http://bbs.ednchina.com/BLOG_ARTICLE_3024936.HTM

--------------------- 本文轉自 yueashuxia 的CSDN 部落格 ,全文地址請點選:https://blog.csdn.net/yueashuxia/article/details/52960658?utm_source=copy