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

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

转载请注明出处,欢迎邮件交流:[email protected]

猜你喜欢

转载自www.cnblogs.com/Amedeo/p/8970632.html