make menuconfig提示'make menuconfig' requires the ncurses libraries.
2014-08-07 09:26
411 查看
问题:
原来使用的ubuntu 11.10系统由于误操作,导致系统崩溃,重新安装了ubuntu 11.10;
在编译内核的时候,提示如下错误:
[plain] view
plaincopyprint?
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
plaincopyprint?
sudo apt-cache search ncurses-devel
查不到任何信息;
通过命令
[plain] view
plaincopyprint?
sudo apt-cache search ncurses
查到N多信息;
光是以libncurses开头的就有这么多:
[html] view
plaincopyprint?
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
plaincopyprint?
sudo apt-get install libncurses5-dev
安装完毕之后再运行make menuconfig就可以了。
问题解决。
原来使用的ubuntu 11.10系统由于误操作,导致系统崩溃,重新安装了ubuntu 11.10;
在编译内核的时候,提示如下错误:
[plain] view
plaincopyprint?
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
plaincopyprint?
sudo apt-cache search ncurses-devel
查不到任何信息;
通过命令
[plain] view
plaincopyprint?
sudo apt-cache search ncurses
查到N多信息;
光是以libncurses开头的就有这么多:
[html] view
plaincopyprint?
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
plaincopyprint?
sudo apt-get install libncurses5-dev
安装完毕之后再运行make menuconfig就可以了。
问题解决。
相关文章推荐
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- make menuconfig提示'make menuconfig' requires the ncurses libraries.
- 'make menuconfig' requires the ncurses libraries.
- 'make menuconfig' requires the ncurses libraries.
- ubuntu11.10 下'make menuconfig' requires the ncurses libraries.
- 'make menuconfig' requires the ncurses libraries.
- ubuntu 10.10下编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误
- Ubuntu下:make menuconfig Error 2('make menuconfig' requires the ncurses libraries)
- 'make menuconfig' requires the ncurses libraries.
- Ubuntu10.04下:make menuconfig Error 2('make menuconfig' requires the ncurses libraries)
- 编译linux内核make menuconfig报 'make menuconfig' requires the ncurses libraries 等错误
- 1. 'make menuconfig' requires the ncurses libraries
- Ubuntu下:make menuconfig Error 2('make menuconfig' requires the ncurses libraries)
- make menuconfig时报错:'make menuconfig' requires the ncurses libraries
- 'make menuconfig' requires the ncurses libraries.
- 'make menuconfig' requires the ncurses libraries
- Ubuntu10.04下:make menuconfig Error 2('make menuconfig' requires the ncurses libraries)
- make menuconfig提示'make menuconfig' requires the ncurses libraries.编译3.13.6内核