I've seen virtually identical posts to mine with identical error
messages, but as yet am still searching for a solution:
OK Brand new installation of Redhat 5.1, all partitions formatted.
Attempting to configure kernel. If I run make menuconfig immediately,
then make menuconfig works a treat - so what's the prob? Well I get
this lot below when I follow the README and do a make mrproper. After
issuing this command, it is impossilbe to recompile kernel with make
config, make menuconfig or make xconfig.
What the hell is causing this?
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make: Entering directory `/usr/src/linux-2.0.34/scripts/lxdialog'
gcc -O2 -Wall -fomit-frame-pointer -DLOCALE -I/usr/include/ncurses
-DCURSES_LOC="<ncurses.h>" -c lxdialog.c -o lxdialog.o
In file included from lxdialog.c:22:
dialog.h:22: sys/types.h: No such file or directory
dialog.h:23: fcntl.h: No such file or directory
dialog.h:24: unistd.h: No such file or directory
dialog.h:25: ctype.h: No such file or directory
dialog.h:26: stdlib.h: No such file or directory
dialog.h:27: string.h: No such file or directory
In file included from dialog.h:29,
/usr/include/ncurses/ncurses.h:71: stdio.h: No such file or directory
lxdialog.c:53: locale.h: No such file or directory
make: *** [lxdialog.o] Error 1
make: Leaving directory `/usr/src/linux-2.0.34/scripts/lxdialog'
make: *** [menuconfig] Error 2