Unable to find the ncurses libraries的解决办法

来源:互联网 发布:linux 下的虚拟机 编辑:程序博客网 时间:2024/06/05 00:27

我们在更新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.

解决办法如下:
CentOS:
yum install -y ncurses-devel

Ubuntu:
sudo apt-get insatll ncurses-dev

0 0
原创粉丝点击