ValeriRangelov ValeriRangelov -5 years ago 118
Linux Question

Can't make menuconfig

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


I downloaded and installed the packages manually and now everything is okay!
Thanks a lot!!

Answer Source

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


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

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download