'make menuconfig' requires the ncurses libraries

2024-03-15 08:08

本文主要是介绍'make menuconfig' requires the ncurses libraries,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

分类: Linux 编译 开发环境 784人阅读 评论(0) 收藏 举报
binding interface library ubuntu search header

问题:

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

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

[plain] view plain copy print ?
  1. dingq@wd-u1110:~/hwsvn/2sw/1prj_linux/pdu/kernel/linux-2.6.30$ make menuconfig  
  2.  *** Unable to find the ncurses libraries or the  
  3.  *** required header files.  
  4.  *** 'make menuconfig' requires the ncurses libraries.  
  5.  ***   
  6.  *** Install ncurses (ncurses-devel) and try again.  
  7.  ***   
  8. make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1  
  9. make: *** [menuconfig] Error 2  
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的库,但是,通过命令

[plain] view plain copy print ?
  1. sudo apt-cache search ncurses-devel  
sudo apt-cache search ncurses-devel
查不到任何信息;

通过命令

[plain] view plain copy print ?
  1. sudo apt-cache search ncurses  
sudo apt-cache search ncurses
查到N多信息;

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

[html] view plain copy print ?
  1. libncurses-gst - Ncurses bindings for GNU Smalltalk  
  2. libncurses-ruby - Transitional package for ruby-ncurses  
  3. libncurses-ruby1.8 - Transitional package for ruby-ncurses  
  4. libncurses-ruby1.9 - Transitional package for ruby-ncurses  
  5. libncurses-ruby1.9.1 - Transitional package for ruby-ncurses  
  6. libncursesada-doc - Ada binding to the ncurses text interface library: documentation  
  7. libncursesada1 - Ada binding to the ncurses text interface library: shared library  
  8. libncursesada1-dbg - Ada binding to the ncurses text interface library: debug symbols  
  9. libncursesada1-dev - Ada binding to the ncurses text interface library: development  
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就够了。
[html] view plain copy print ?
  1. sudo apt-get install libncurses5-dev  
sudo apt-get install libncurses5-dev
安装完毕之后再运行make menuconfig就可以了。


问题解决。



这篇关于'make menuconfig' requires the ncurses libraries的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/811312

相关文章

error while loading shared libraries: libnuma.so.1: cannot open shared object file:

腾讯云CentOS,安装Mysql时: 1.yum remove libnuma.so.1 2.yum install numactl.x86_64

gcc make cmake例程

main.cpp文件: #include <iostream>#include "utils.h"int main(void) {int a = 1;int b = 2;int c = AddFunc(a, b);std::cout<< c <<std::endl;return 0;} utils.h文件: #pragma onceint AddFunc(int a, int b);

编程开发之make

make命令是GNU的工程化编译工具,用于编译众多相互关联的源代码问价,以实现工程化的管理,提高开发效率。 语法 make(选项)(参数)  选项  -f:指定“makefile”文件;  -i:忽略命令执行返回的出错信息; -s:沉默模式,在执行之前不输出相应的命令行信息;  -r:禁止使用build-in规则;  -n:非执行模式,输出所有执行命令,但并不执行;  -t:更新目

【Python报错已解决】`AttributeError: move_to requires a WebElement`

🎬 鸽芷咕:个人主页  🔥 个人专栏: 《C++干货基地》《粉丝福利》 ⛺️生活的理想,就是为了理想的生活! 文章目录 引言:一、问题描述:1.1 报错示例:1.2 报错分析:1.3 解决思路: 二、解决方法:2.1 方法一:正确获取并传递WebElement对象2.2 步骤二:使用find_element_by_*方法直接获取元素 三、其

The `XXXUITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build......

出现的警告: [!] The `ColorInHeartUITests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-ColorInHeart-ColorInHeartUITests/Po

#error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version

昨天编译文件时出现了Building MFC application with /MD[d] (CRT dll version)requires MFC shared dll version~~~~的错误。   在网上很容易找到了解决的方案,公布如下:   对着你的项目点击右键,依次选择:属性、配置属性、常规,然后右边有个“项目默认值”,下面有个MFC的使用,选择“在共享 DLL 中使

Login failed:make sure your username and password are correct and that you’re an admin or moderator

Login failed:make sure your username and password are correct and that you’re an admin or moderator   1.使用MySql查看工具进入数据库,进入表“ofuser”,把字段 plainPassword 改成 123,然后在你的控制台上输入该表的   username跟plainPa

sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such

在Zabbix Server服务器上安装oracle-instantclient11.2后,结果使用sqlplus命令时遇到“sqlplus: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory“错误,下面总结一下解决过程。

Image Transformation can make Neural Networks more robust against Adversarial Examples

Image Transformation can make Neural Networks more robust against Adversarial Examples 创新点 1.旋转解决误分类 总结 可以说简单粗暴有效

golang make 函数的三个参数分别有什么作用

在 Go 语言中,make 函数通常用于创建和初始化切片(slice)、映射(map)或信道(channel)。make 函数的三个参数用于指定要创建的数据结构及其大小和容量。具体作用如下: 第一个参数:类型(Type) 第一个参数是要创建的数据结构的类型,可以是 slice、map 或 channel。 例如,make([]int) 表示创建一个 int 类型的切片,make(map[str