Unable to find the ncurses libraries的解决办法

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

解决办法如下:
Ubuntu:

sudo apt-get install ncurses-dev

如果没有ncurses-dev可以更新后再安装。

sudo apt-get update

posted on 2012-10-28 15:44  三木追风  阅读(406)  评论(0编辑  收藏  举报