查看: 13636|回复: 3

apt-get install libncurses5-dev 提示E: Unable to locate package libncurses5-dev

2

主题

7

回帖

3

积分

jcjx0315 发表于 2011-11-21 15:52:54 | 显示全部楼层 |阅读模式
环境: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
  HOSTCC  scripts/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
  HOSTCC  scripts/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[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
请大家赐教!
回复

使用道具 举报

liu_wu@sina.cn 该用户已被删除
liu_wu@sina.cn 发表于 2012-2-8 23:11:55 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
回复 支持 反对

使用道具 举报

15

主题

3658

回帖

4387

积分

飞凌-chongzi 发表于 2012-2-9 08:44:54 | 显示全部楼层
libncurses5-dev这个已经安上了,缺少另一个ncurses (ncurses-devel)
技术支持电话:0312-3119192
技术支持邮箱:Android@forlinx.com
回复 支持 反对

使用道具 举报

2

主题

7

回帖

3

积分

楼主| jcjx0315 发表于 2012-2-10 14:58:58 | 显示全部楼层
要先更新一下ubuntn相关的组件,用apt-get install update ,然后执行更新库的命令apt-get install libncurses5-dev,就可以查找到要升级的库补丁了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则