您的位置:首页 > 运维架构 > Linux

编译linux内核前用make menuconfig设置时 Unable to find the ncurses libraries的解决办法

2017-09-01 23:03 567 查看
我们在更新CentOS或者Ubuntu的内核时,执行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库,需要安装该库(Ncurses 提供字符终端处理库,包括面板和菜单)

详见ncures_百度百科

解决办法如下:

CentOS:

yum install -y ncurses-devel

Ubuntu:

sudo apt-get install ncurses-dev
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: