When Compilaing kernel.I am getting these result in "make menuconfig"
*** 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: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
but when i try to install ncurses i am getting as ncurses is already new one.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libncurses5 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Kindly help me...I am having this error for long time.