如何解决Install ncurses(ncurses-devel) and try again

来源:互联网 发布:简单的java项目实例 编辑:程序博客网 时间:2024/05/28 19:24

   今天在 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.
 ***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2


     ncurses是字符终端下屏幕控制的基本库。可能很多新开发的程序已经不再使用。假如要编译一些老的程序,还是会经常碰到。解决这个问题可以通过下面的解决方法来搞定。

打开一个终端输入下面这条语句按回车进行安装即可。

apt-get install libncurses5-dev


原创粉丝点击