There is a lack of ' ncurses-devel ' library support when using ' make Menuconfig ' to configure the Linux kernel with Ubuntu.

Source: Internet
Author: User

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.

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.