Make menuconfig error (ncurses) Solution

Source: Internet
Author: User

I recently learned how to develop Linux arm. Follow the instructions in the manual to transplant the kernel.

Use the make menuconfig command in the outermost directory of the kernel, for example:

[Root @ wanyao linux-2.6.30.4] # Make menuconfig

The result is incorrect. The error message is as follows:

* ** Unable to find the ncurses libraries or
* ** 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 reason is that the ncurses-devel library file is missing.

Ncurses is installed by default when the system is installed, but ncurses-devel Is Not Installed

You can run the rpm-Q command to view the information:

Enter rpm-Q ncurses. The following information indicates that ncurses has been installed:

[Root @ wanyao linux-2.6.30.4] # rpm-Q ncurses
Ncurses-5.7-3.20090208.el6.i686

However, ncurses-devel version information cannot be found when rpm-Q ncurses-devel command is used, so you need to install ncurses-devel consistent with ncurses version, download ncurses-devel-5.7-3.20090208.el6.i686.rpm online

Exploitation

[Root @ wanyao linux-2.6.30.4] # RMP-IVH ncurses-devel-5.7-3.20090208.el6.i686.rpm

Make menuconfig after ncurses-devel is installed.

Conclusion: This problem is mainly caused by installing ncurses-devel. Note that the version information must be consistent with ncurses.









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.