If you use make menuconfig to configure the kernel, and it happens that the ncurses library is not installed in the system (this library is not installed by default in the Ubuntu system), an error will occur. The error message is as follows:
*** 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 solution is as simple as installing the ncurses library, which can be done on ubuntu/debian systems with the following command.
$sudo apt-get install libncurses5-dev
Ncurses library is the basic library for screen control under character terminal, and many newly developed programs may not be used, but it is often used when compiling some old programs
Similar Posts:
- Installing ncurses devel in Ubuntu 10.10
- [Solved] NFS Failed to mount: Nothing Happened or “No such device” Error
- [Solved] configure: error: C++ preprocessor “/lib/cpp” fails sanity check
- Centos7 Install MYSQL Error: Could NOT find Curses (missing CURSES_LIBRARY CURSES_INCLUDE_PATH)
- Make Command ERROR: “make:*** No targets specified and no makefile found.Stop.” [Three Method to Solve]
- [Solved] Linux Execute File Error: no such file or directory (bit mismatch)
- [Solved] Error logging into mysql under ARM64 architecture: mysql: error while loading shared libraries: libncurses.so.5: cannot open share…
- GCC refers to math. H header file, and there are some errors such as undefined reference to ` POW ‘when compiling
- ubuntu14.4-X64 Unable to run mksdcard SDK tool.
- Raspberry Pi 4B+Ubuntu20.04 Solve Error sudo: raspi-config: command not found