linux编译内核make menuconfig报错Unable to find the ncurses libraries解决办法

Posted Arthurian

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux编译内核make menuconfig报错Unable to find the ncurses libraries解决办法相关的知识,希望对你有一定的参考价值。

在 linux 编译内核时 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.

这是因为系统中缺少 ncurses-devel,安装一下就可以了

CentOS:

yum install -y ncurses-devel

Ubuntu:

sudo apt-get install ncurses

 

 

作者:耑新新,发布于  博客园

转载请注明出处,欢迎邮件交流:zhuanxinxin@aliyun.com

以上是关于linux编译内核make menuconfig报错Unable to find the ncurses libraries解决办法的主要内容,如果未能解决你的问题,请参考以下文章