Make Menuconfig error, install Ncurses method

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.