ubuntu下修改内核发生“ncurses libraries“错误(解决方法)
来源:互联网 发布:centos u盘启动盘制作 编辑:程序博客网 时间:2024/05/16 11:39
问题主要是不清楚包的具体名字!但还是被我猜对了~~
以下是我的操作过程:
root@pandaren-desktop:/usr/src/linux-2.6.35.3# 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] 错误 1
make: *** [menuconfig] 错误 2
root@pandaren-desktop:/usr/src/linux-2.6.35.3# apt-get install ncurses-devel
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法找到软件包 ncurses-devel
root@pandaren-desktop:/usr/src/linux-2.6.35.3# apt-get install ncurses
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
现在没有可用的软件包 ncurses,但是它被其它的软件包引用了。
这可能意味着这个缺失的软件包可能已被废弃,
或者只能在其他发布源中找到
E: 软件包 ncurses 还没有可供安装的候选者
root@pandaren-desktop:/usr/src/linux-2.6.35.3# apt-get install ncurses-dev
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
注意,选取 libncurses5-dev 而非 ncurses-dev
下列【新】软件包将被安装:
libncurses5-dev
升级了 0 个软件包,新安装了 1 个软件包,要卸载 0 个软件包,有 3 个软件包未被升级。
需要下载 1,564kB 的软件包。
解压缩后会消耗掉 6,627kB 的额外空间。
获取:1 http://cn.archive.ubuntu.com/ubuntu/ lucid/main libncurses5-dev 5.7+20090803-2ubuntu3 [1,564kB]
下载 1,564kB,耗时 4秒 (372kB/s)
选中了曾被取消选择的软件包 libncurses5-dev。
(正在读取数据库 ... 系统当前总共安装有 129966 个文件和目录。)
正在解压缩 libncurses5-dev (从 .../libncurses5-dev_5.7+20090803-2ubuntu3_i386.deb) ...
正在处理用于 man-db 的触发器...
正在设置 libncurses5-dev (5.7+20090803-2ubuntu3) ...
root@pandaren-desktop:/usr/src/linux-2.6.35.3# ls
arch crypto fs Kbuild Makefile REPORTING-BUGS sound
block Documentation include kernel mm samples tools
COPYING drivers init lib net scripts usr
CREDITS firmware ipc MAINTAINERS README security virt
root@pandaren-desktop:/usr/src/linux-2.6.35.3# make menuconfig
HOSTCC scripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:105: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:307: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCC scripts/kconfig/kxgettext.o
HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf arch/x86/Kconfig
#
# using defaults found in /boot/config-2.6.32-24-generic
#
/boot/config-2.6.32-24-generic:556:warning: symbol value 'm' invalid for PCCARD_NONSTATIC
/boot/config-2.6.32-24-generic:3031:warning: symbol value 'm' invalid for MFD_WM831X
/boot/config-2.6.32-24-generic:3032:warning: symbol value 'm' invalid for MFD_WM8350
/boot/config-2.6.32-24-generic:3033:warning: symbol value 'm' invalid for MFD_WM8350_I2C
/boot/config-2.6.32-24-generic:3038:warning: symbol value 'm' invalid for AB3100_CORE
/boot/config-2.6.32-24-generic:3505:warning: symbol value 'm' invalid for FB_VESA
/boot/config-2.6.32-24-generic:4174:warning: symbol value 'm' invalid for MMC_RICOH_MMC
#
# configuration written to .config
#
*** End of Linux kernel configuration.
*** Execute 'make' to build the kernel or try 'make help'.
- ubuntu下修改内核发生“ncurses libraries“错误(解决方法)
- ubuntu/debian make menuconfig 发生“ncurses libraries“错误(解决方法)
- ubuntu 10.10下编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误
- ubuntu 10.04下编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误
- 解决ubuntu内核编译时出现Unable to find the ncurses libraries 错误
- 执行make menucofig发生错误“Unable to find the ncurses libraries or the required header files”的解决方法
- 执行make menucofig发生错误“Unable to find the ncurses libraries or the required header files”的解决方法
- Ubuntu下Xilinx Linux内核编译问题,出现“缺少ncurses”libraries
- 内核编译--make menuconfig 报错make menuconfig' requires the ncurses libraries解决方法
- 内核编译--make menuconfig 报错make menuconfig' requires the ncurses libraries解决方法
- 编译内核出现Unable to find the ncurses libraries的解决方法
- ubuntu编译linux内核出现 Unable to find the ncurses libraries or the required header files.
- 编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误
- make menuconfig编译linux内核错误:'make menuconfig' requires the ncurses libraries
- Ubuntun内核make menuconfig错误Unable to find the Ncurses libraries的解决
- 编译Linux内核时错误 Unable to find the ncurses libraries
- 配置Linux内核源码make menuconfig 时unable to find the ncurses libraries 错误
- 虚拟机中ubuntu下make menuconfig命令缺少ncurses解决方法
- 收费系统中的sql语句分析
- HTTP POST GET 本质区别详解
- ajax(iframe)无刷新提交表单、上传文件
- ORACLE8i在Penitum4/WINDOWS机器上的安装
- Response.End正在中止线程
- ubuntu下修改内核发生“ncurses libraries“错误(解决方法)
- struts2乱码
- js操作xml(1)
- 设计模式六大原则(二)里氏代换原则
- jQuery获取回车事件
- (zt)字符编码笔记:ASCII,Unicode和UTF-8
- VC项目配置基础
- Ext遍历form控件
- javascript中event.keycode大全