make menuconfig 需要 ncurses 安装 解决办法

来源:互联网 发布:淘宝图片保护盾 编辑:程序博客网 时间:2024/06/05 03:03
$ 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 1make: *** [menuconfig] Error 2


sudo apt-get install 出错:

E: Unable to locate package ncurses-devel

 

解决办法:

http://markter.blog.163.com/blog/static/17355399520116201187211/

 

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

2011-07-20 01:18:07|  分类: 默认分类|字号 订阅

因为工作需要,打算着手编译嵌入式Linux内核。刚刚着手就遇到一个问题:Install ncurses(ncurses-devel) and try again。

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

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

sudo apt-get install libncurses5-dev

总结:

对于 E: Unable to locate package ncurses-devel 这种错误,不一定是真的找不到包。

而是 包的名字不对!

 

 

 

原创粉丝点击