apt-get install libncurses5-dev 提示E: Unable to locate package libncurses5-dev
环境:ubuntn 10.10编译内核,升级库的时候出现这个情况,换一台PC机则可以升级
如果apt-get install libncurses5或者apt-get install libncurses5w的话就提示
libncurses5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
但是仍然用不了make menuconfig命令进行配置仍然
提示错误
root@ubuntu:/home/wfjiang/kernel/linux2.6.28# make menuconfig
HOSTCCscripts/kconfig/conf.o
scripts/kconfig/conf.c: In function ‘conf_askvalue’:
scripts/kconfig/conf.c:104: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
scripts/kconfig/conf.c: In function ‘conf_choice’:
scripts/kconfig/conf.c:306: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
HOSTCCscripts/kconfig/kxgettext.o
*** 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: *** Error 1
make: *** Error 2
请大家赐教! libncurses5-dev这个已经安上了,缺少另一个ncurses (ncurses-devel) 要先更新一下ubuntn相关的组件,用apt-get install update ,然后执行更新库的命令apt-get install libncurses5-dev,就可以查找到要升级的库补丁了
页:
[1]