在Linux内核文件夹中使用命令make menuconfig,出现如下情况:
topeet@ubuntu:~/android4.0/iTop4412_Kernel_3.0$ 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 1make: *** [menuconfig] Error 2
提示:‘make menuconfig’ requires the ncurses libraries.
意思是说需要ncurses libraries,只要安装libncurses5-dev就好了
然后使用以下命令安装即可
sudo apt-get install libncurses5-dev
结果又出现
Reading package lists... DoneBuilding dependency treeReading state information... Donelibncurses5-dev is already the newest version.The following package was automatically installed and is no longer required:thunderbird-globalmenuUse \'apt-get autoremove\' to remove them.0 upgraded, 0 newly installed, 0 to remove and 592 not upgraded.
其实只要先安装aptitude,再把apt-get换成aptitude安装libncurses5-dev就好了
sudo apt-get install aptitude
sudo aptitude install libncurses5-dev
最后运行make menuconfig就可以用了