An error occurred when starting to execute makemenuconfig: ******** requiredheaderfiles. ***** 'makemenuconfig 'requiresthencurseslibraries. ******* Installncurses (ncurse
Start
An error occurred while executing make menuconfig.
Error:
* ** 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
It can be seen that the error is caused by the failure to find ncurses. Then try to install ncurses
$ Sudo apt-get install ncurses
Information:
Reading the package list... complete
Analyzing the dependency tree of the software package
Read status information... complete
There is no available software package ncurses, but it is referenced by other software packages.
This may mean that the missing software package may have been deprecated,
Or it can only be found in other release sources
E: The software package ncurses has no candidates for Installation
Try again:
$ Sudo apt-get install libncurses *
Information:
Reading the package list... complete
Analyzing the dependency tree of the software package
Read status information... complete
Note that libncurses4 is selected based on the regular expression "libncurses *".
Note that libncurses5 is selected based on the regular expression "libncurses *".
Note that the libncurses-ruby1.8 is selected based on the regular expression "libncurses *"
Note that the libncurses-ryby1.9 is selected based on the regular expression "libncurses *"
Note that libncurses-dev is selected based on the regular expression "libncurses *".
Note that the libncursesw5-dbg is selected based on the regular expression "libncurses *"
Note that the libncursesw5-dev is selected based on the regular expression "libncurses *"
Note that libncurses-ruby is selected based on the regular expression "libncurses *".
Note that the libncurses5-dbg is selected based on the regular expression "libncurses *"
Note that the libncurses5-dev is selected based on the regular expression "libncurses *"
Note that libncursesw5 is selected based on the regular expression "libncurses *".
You do not need to install the following software packages automatically:
Libchewing3-data ttf-wqy-zenhei scim-chewing thunderbird-locale-zh-tw language-support-translations-zh
Libchewing3 xfonts-wqy openoffice.org-l10n-zh-cn openoffice.org-l10n-zh-tw openoffice.org-help-zh-cn
Openoffice.org-help-zh-tw language-support-fonts-zh
Use 'apt-get autoremove 'to delete them.
The following additional software packages will be installed:
Libncurses-ruby libncurses-ruby1.8 libncurses-ruby1.9 libncurses4 libncurses5-dbg libncurses5-dev
Libncursesw5-dbg libncursesw5-dev libruby1.8 libruby1.9 ruby1.8 ruby1.9
Recommended software packages:
Rdoc1.8 ri1.8 ruby1.8-examples rdoc1.9 ri1.9 ruby1.9-examples
The following [new] software packages will be installed:
Libncurses-ruby libncurses-ruby1.8 libncurses-ruby1.9 libncurses4 libncurses5-dbg libncurses5-dev
Libncursesw5-dbg libncursesw5-dev libruby1.8 libruby1.9 ruby1.8 ruby1.9
A total of 0 software packages have been upgraded, 12 new software packages have been installed, 0 software packages have to be uninstalled, and 60 software have not been upgraded.
Download the 8868kB software package.
After the operation is completed, additional disk space of MB is consumed.
Do you want to continue? [Y/n]
Select Y to continue execution. After the execution is complete, run sudo make menuconfig. OK !!
However, make xconfig still does not work.
$ Sudo make xconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
CHECK qt
*
* Unable to find the QT3 installation. Please make sure that
* The QT3 development package is correctly installed and
* Either install pkg-config or set the QTDIR environment
* Variable to the correct location.
*
HOSTCC scripts/kconfig/conf. o
Sed <scripts/kconfig/lkc_proto.h> scripts/kconfig/lkc_defs.h's/P (\ ([^,] * \),. */# define \ 1 (\ * \ prop P )/'
HOSTCC scripts/kconfig/kconfig_load.o
HOSTCC scripts/kconfig/kxgettext. o
SHIPPED scripts/kconfig/zconf. tab. c
SHIPPED scripts/kconfig/lex. zconf. c
SHIPPED scripts/kconfig/zconf. hash. c
HOSTCC scripts/kconfig/zconf. tab. o
Make [1]: *** you can create the target "scripts/kconfig/. tmp_qtcheck" required by "scripts/kconfig/qconf. o" without rules ". Stop.
Make: *** [xconfig] Error 2
In addition to ncurses, you must install build-essential and kernel-package.
Okay, let's start querying. It starts with kernel-package. After all, it is important to carry kernel.