ubuntu9.10 Install ncurses (ncurses-devel) and try again 问题
2013-02-24 21:08
495 查看
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
缺少 ncurses库
解决方法:
一、
sudo apt-get install ncurses-dev
or
sudo aptitude install libncurses5-dev
or
sudo apt-get install libncurses5-dev
可用软件源如下:
deb http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted
Ncurses定义如下: 引用 http://www.oschina.net/p/ncurses/
Ncurses是一个能提供功能键定义(快捷键),屏幕绘制以及基于文本终端的图形互动功能的动态库。
Ncurses是一个能提供基于文本终端窗口功能的动态库. Ncurses可以:
只要您喜欢,您可以使用整个屏幕
创建和管理一个窗口
使用8种不同的彩色
为您的程序提供鼠标支持
使用键盘上的功能键
Ncurses可以在任何遵循ANSI/POSIX标准的UNIX系统上运行,除此之外,它还可以从系统数据库中检测终端的属性, 并且自动进行调整,提供一个不受终端约束的接口.因此,Ncurses可以在不同的系统平台和不同的终端上工作的非常好.
mc工具集就是一个用ncurses写的很好的例子,而且在终端上系统核心配置的界面同样是用ncurses编写的. 下面就是它们的截图:
![](http://www.oschina.net/uploads/img/201009/19103003_Bu7x.jpg)
二、
下载ncurses-devel rpm 包
下载地址:http://138.232.1.20/linux/rpm2html/centos/5/os/i386/CentOS/ncurses-devel-5.5-24.20060715.i386.html
rpm -ivh ncurses-devel-5.5-24.20060715.rpm
*** 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
缺少 ncurses库
解决方法:
一、
sudo apt-get install ncurses-dev
or
sudo aptitude install libncurses5-dev
or
sudo apt-get install libncurses5-dev
可用软件源如下:
deb http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse
deb-src http://mirrors.163.com/ubuntu/ natty main universe restricted multiverse
deb http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-security universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-proposed universe main multiverse restricted
deb http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-backports universe main multiverse restricted
deb-src http://mirrors.163.com/ubuntu/ natty-updates universe main multiverse restricted
Ncurses定义如下: 引用 http://www.oschina.net/p/ncurses/
Ncurses是一个能提供功能键定义(快捷键),屏幕绘制以及基于文本终端的图形互动功能的动态库。
Ncurses是一个能提供基于文本终端窗口功能的动态库. Ncurses可以:
只要您喜欢,您可以使用整个屏幕
创建和管理一个窗口
使用8种不同的彩色
为您的程序提供鼠标支持
使用键盘上的功能键
Ncurses可以在任何遵循ANSI/POSIX标准的UNIX系统上运行,除此之外,它还可以从系统数据库中检测终端的属性, 并且自动进行调整,提供一个不受终端约束的接口.因此,Ncurses可以在不同的系统平台和不同的终端上工作的非常好.
mc工具集就是一个用ncurses写的很好的例子,而且在终端上系统核心配置的界面同样是用ncurses编写的. 下面就是它们的截图:
![](http://www.oschina.net/uploads/img/201009/19103003_Bu7x.jpg)
二、
下载ncurses-devel rpm 包
下载地址:http://138.232.1.20/linux/rpm2html/centos/5/os/i386/CentOS/ncurses-devel-5.5-24.20060715.i386.html
rpm -ivh ncurses-devel-5.5-24.20060715.rpm
相关文章推荐
- 解决ubuntu下:Install ncurses(ncurses-devel) and try again的问题
- ubuntu编译嵌入式Linux内核Install ncurses(ncurses-devel) and try again
- 解决 内核编译 Install ncurses (ncurses-devel) and try again 错误
- 解决 内核编译 Install ncurses (ncurses-devel) and try again 错误
- Install ncurses(ncurses-devel) and try again
- 错误解决:Install ncurses(ncurses-devel) and try again
- Install ncurses (ncurses-devel) and try again
- Install ncurses(ncurses-devel) and try again
- 如何解决Install ncurses(ncurses-devel) and try again
- 如何解决Install ncurses(ncurses-devel) and try again
- 如何解决Install ncurses(ncurses-devel) and try again
- Install ncurses(ncurses-devel) and try again问题
- 如何解决Install ncurses(ncurses-devel) and try again
- 如何解决Install ncurses(ncurses-devel) and try again
- Install ncurses (ncurses-devel) and try again.
- 修改源出现的问题Cannot retrieve metalink for repository: fedora. Please verify its path and try again
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- ubuntu 14.04 编译内核出现unable to locate package ncurses-devel 问题的解决
- 解决Ubuntu的root账号无法登录SSH问题-Permission denied, please try again.
- Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again