Link: http://blog.csdn.net/duqi_2009/article/details/7741199
Solution Ubuntu uses ' make Menuconfig ' to configure the Linux kernel, there is a lack of ' ncurses-devel ' library support.
Unable to find the ncurses libraries or the Required header files. ' Make Menuconfig ' requires the ncurses libraries. *** Install ncurses (Ncurses-devel) and try again. *** |
1. Status of issues
In general, using the system's own software manager Apt-get can be installed (' sudo apt-get install ncurses-devel '), but the following error message appears after use:
Reading Package List ... Complete Analyzing Dependency tree for Package Reading status information ... Complete E: No package ncurses-devel found |
Try another command ' sudo apt-get install ncurses ', appears:
Reading Package List ... Complete Analyzing Dependency tree for Package Reading status information ... Complete There are no available package ncurses, but it is referenced by other packages. This may mean that the missing package may have been discarded, Or can only be found in other publishing sources E: Package ncurses does not have a candidate to install |
2. How to Solve
Linux almost every release will have a ' ncurses ' and ' ncurses-devel ' installation package, and according to the second command error above, "There is no available package ncurses, but it is referenced by other packages." "You can determine that the Ubuntu Software Manager server has been modified. So to the Ubuntu Package Archive (http://packages.ubuntu.com/) search for the existence of the installer package, use ' ncurses-devel ' as the keyword search, without any results. Search for ' ncurses ' showed a lot of return results. The ' Ncurses-devel ' is named after ' Libncurses5-dev ' in Ubuntu, depending on the description of each return search result.
# sudo apt-get install Libncurses5-dev (installation process does not prompt for any errors, installation succeeded)
Then try ' make Menuconfig ', and you can go to the kernel configuration normally.