I use Debian 7.4 Wheezy. I trying to upgrade my kernel, but when I type "make menuconfig" it says:
*** 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
I trying to install "libncurses5-dev", but I get the error:
E: Unable to locate package libncurses5-dev
P.S.
I downloaded and installed the packages manually and now everything is okay! Thanks a lot!!
If you just want to find “CONFIG_PCI”, press “/” for a search, and “^PCI$” to find the exact match. Great! Press “1” to go to the option, and enable PCI in your kernel. You can use other regexps as well.
In general, after a make menuconfig or make config , the . config file is changed. This file describes which options are choosen and will tell make and Makefile which file to compile and which options to activate. It may be useful to know that the previous .
You should have run (as root)
aptitude update
aptitude search libncurses
that would suggest you the right package name.
Then try
aptitude install libncurses-dev
and
aptitude install kernel-package
aptitude build-dep linux-image linux-image-amd64
At last, use make-kpkg --initrd binary
to compile your kernel. (it will produce *.deb
files in the parent directory). You want to configure /etc/kernel-pkg.conf
and perhaps /etc/kernel-img.conf
I had the same problem. In my case installation of package libncursesw5-dev
solved the issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With