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. Problem status
In general, using the system's own software manager Apt-get can be installed (' sudo apt-get install ncurses-devel '), but after use, the following error message appears:
Reading Package List ... Complete Analyzing Dependency tree for Package Reading status information ... Complete E: Package not found Ncurses-devel |
Try another command ' sudo apt-get install ncurses ', which appears:
Reading Package List ... Complete Analyzing Dependency tree for Package Reading status information ... Complete There is no package ncurses available now, 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 not available for installation candidate |
2. Workaround
Linux almost every release will have the ' ncurses ' and ' ncurses-devel ' installation package, and then according to the second command above error, "There is no available package ncurses, but it is referenced by other packages." "You can decide that the Ubuntu Software Manager server has been modified. So to Ubuntu package archive (http://packages.ubuntu.com/) search for the presence of the installer, use ' ncurses-devel ' as the keyword search, no results. The search for ' ncurses ' has resulted in a lot of returns. The ' Ncurses-devel ' is named ' Libncurses5-dev ' in Ubuntu based on each of the instructions that return the search results.
# sudo apt-get install Libncurses5-dev (installation process does not prompt for any errors, installation succeeded)
There is a lack of ' ncurses-devel ' library support when using ' make Menuconfig ' to configure the Linux kernel with Ubuntu.