make menuconfig出错,ncurses安装失败
2017-09-21 14:10
393 查看
转自http://blog.csdn.net/feather_wch/article/details/50760328
解决Ubuntu使用
1.问题状况
一般情况下使用系统自带的软件管理器apt-get就可以安装了(
试了另一条命令
2.解决方法
Linux几乎每个发行版都会有’ncurses’及’ncurses-devel’的安装包的,再根据上面第二条命令错误提示,“现在没有可用的软件包 ncurses,但是它被其它的软件包引用了。” 可以判定Ubuntu软件管理器服务端有作修改过。所以到 Ubuntu Package archive(http://packages.ubuntu.com/)搜索是否存在该安装包,用’ncurses-devel’作为关键字搜索,没有任何结果。搜索’ncurses’出现了很多返回结果。根据每个返回搜索结果的说明可以发现在Ubuntu中’ncurses-devel’是以’libncurses5-dev’命名的。
* sudo apt-get install libncurses5-dev (安装过程没有提示任何错误,安装成功)*
接着再试一下
解决Ubuntu使用
make menuconfig配置Linux 内核时,出现缺少’ncurses-devel’库支持。
*** Unable to find the ncurses libraries or the *** required header files. *** 'make menuconfig' requires the ncurses libraries. *** *** Install ncurses (ncurses-devel) and try again. ***
1.问题状况
一般情况下使用系统自带的软件管理器apt-get就可以安装了(
sudo apt-get install ncurses-devel),但使用后却出现下面的错误提示:
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package ncurses-devel
试了另一条命令
sudo apt-get install ncurses, 出现:
Reading package lists... Done Building dependency tree Reading state information... Done Package ncurses is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source E: Package 'ncurses' has no installation candidate
2.解决方法
Linux几乎每个发行版都会有’ncurses’及’ncurses-devel’的安装包的,再根据上面第二条命令错误提示,“现在没有可用的软件包 ncurses,但是它被其它的软件包引用了。” 可以判定Ubuntu软件管理器服务端有作修改过。所以到 Ubuntu Package archive(http://packages.ubuntu.com/)搜索是否存在该安装包,用’ncurses-devel’作为关键字搜索,没有任何结果。搜索’ncurses’出现了很多返回结果。根据每个返回搜索结果的说明可以发现在Ubuntu中’ncurses-devel’是以’libncurses5-dev’命名的。
* sudo apt-get install libncurses5-dev (安装过程没有提示任何错误,安装成功)*
接着再试一下
make menuconfig,就可以正常进入内核配置了。
相关文章推荐
- make menuconfig出错、安装ncurses方法
- OpenWRT安装完后make menuconfig失败
- Linux移植_make menuconfig提示ncurses未安装
- make menuconfig错误,需要安装ncurses-dev库文件
- Linux移植_make menuconfig提示ncurses未安装
- make menuconfig出错需要安装文件
- 制作kernel内核时make menuconfig出错关于 ncurses
- make menuconfig 执行出错ou must install ncurses-devel in order to use 'make menuconfig解决办法
- make menuconfig出错(ncurses)解决方案
- make menuconfig出错,需要安装libncurses5-dev找不到文件的终极解决办法(不必更换源,适用于ubuntu 32位平台)
- make menuconfig出错(ncurses)解决方案
- Linux移植_make menuconfig提示ncurses未安装
- Linux移植_make menuconfig提示ncurses未安装
- flashplugin安装失败处理, 导致APT-GET出错的问题
- make menuconfig提示'make menuconfig' requires the ncurses libraries解决方法
- sql安装出错,安装程序配置服务器失败的解决方案 [转]
- 内核编译--make menuconfig 报错make menuconfig' requires the ncurses libraries解决方法
- make menuconfig 出错
- ubuntu14 make menuconfig 出错
- 【原创】'make menuconfig' requires the ncurses libraries解决办法