原来使用的ubuntu 11.10系统由于误操作,导致系统崩溃,重新安装了ubuntu 11.10;

在编译内核的时候,提示如下错误:

dingq@wd-u1110:~/hwsvn/2sw/1prj_linux/pdu/kernel/linux-2.6.30$ 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 1
make: *** [menuconfig] Error 2

解决办法:

1. 根据提示,需要安装ncurses-devel的库,但是,通过命令

sudo apt-cache search ncurses-devel  

查不到任何信息;

通过命令

sudo apt-cache search ncurses  

查到N多信息;

光是以libncurses开头的就有这么多:

libncurses-gst - Ncurses bindings for GNU Smalltalk
libncurses-ruby - Transitional package for ruby-ncurses
libncurses-ruby1.8 - Transitional package for ruby-ncurses
libncurses-ruby1.9 - Transitional package for ruby-ncurses
libncurses-ruby1.9.1 - Transitional package for ruby-ncurses
libncursesada-doc - Ada binding to the ncurses text interface library: documentation
libncursesada1 - Ada binding to the ncurses text interface library: shared library
libncursesada1-dbg - Ada binding to the ncurses text interface library: debug symbols
libncursesada1-dev - Ada binding to the ncurses text interface library: development

2. 放狗搜一下,看到说只要安装libncurses5-dev就够了。

sudo apt-get install libncurses5-dev  

安装完毕之后再运行make menuconfig就可以了。

问题解决。

最新文章

  1. - > code vs 3038 3n+1问题(递归)
  2. 【RabbitMQ】 WorkQueues
  3. Using Redis to store php session
  4. ng-repeat产生的对象会带有$$hashkey属性处理方法
  5. Java实现二维码QRCode的编码和解码
  6. [改善Java代码]推荐在复杂字符串操作中使用正则表达式
  7. js监听
  8. Median of Two Sorted Arrays-分治法
  9. go web 第二天 学习笔记之文件上传
  10. MySQL大小写敏感问题和命名规范
  11. Django学习-24-Ajax
  12. Java面试准备之多线程
  13. Ubuntu 18.04基本配置
  14. python while循环案例
  15. dns安全 涉及 术语
  16. Zookeeper Tutorial 1 -- Overview
  17. java项目跑起来报错: 程序报 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 错误
  18. dedecms操作数据库
  19. Jenkins 配合 GitLab 实现分支的自动合并、自动创建 Tag
  20. def 的传参数的问题

热门文章

  1. No.005 Longest Palindromic Substring
  2. aspx网页相对布局
  3. Solaris从安装光盘安装软件
  4. ref和out的区别?
  5. iOS中UIKit——UIButton设置边框
  6. mysql 5.7压缩包安装笔记
  7. 怎么利用CSS3绘制三角形
  8. Java编程性能优化
  9. PHP入门基础(一)——标记风格、注释、表单获取、字符串类型、变量解析
  10. HTTP协议中PUT/GET/POST/HEAD等介绍