在 linux 编译内核时 make menuconfig 报了下面的错误。

*** Unable to find the ncurses libraries or the

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

*** 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@foxmail.com

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄