Make Menuconfig error on Ubuntu

Source: Internet
Author: User

If you configure the kernel using make menuconfig, it happens that the system does not have the Ncurses library installed (Ubuntu system
This library is not installed by default, and an error occurs with the following general error message:

 *** 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 1
make: * * * [Menuconfig] Error 2


The workaround is simple, install ncurses library, ubuntu/ The Debian system can be installed with the following command:

$sudo apt-get Install Libncurses5-dev

The ncurses library is the basic library for screen control under the character terminal, and many of the newly developed programs may not be used, but
If you want to compile some old programs, you often use them.

Make Menuconfig error on 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.