i have come across this problem a few times in the last year but never really came up with a solution, usually just ended up using make config :(
so i hope someone else has had the same prob and found a solution.
the machine is a duron 1200mhz running an "out of the box" redhat 8.0
These are the errors i get when attempting to "make menuconfig" and "make xconfig"
[EMAIL PROTECTED] linux-2.4.20]# make menuconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts/lxdialog all make[1]: Entering directory `/usr/src/linux-2.4.20/scripts/lxdialog' /bin/sh: line 1: gcc: command not found
>> Unable to find the Ncurses libraries. >> >> You must have Ncurses installed in order >> to use 'make menuconfig'
make[1]: *** [ncurses] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts/lxdialog' make: *** [menuconfig] Error 2 [EMAIL PROTECTED] linux-2.4.20]#
[EMAIL PROTECTED] linux-2.4.20]# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/linux-2.4.20/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
make[1]: gcc: Command not found
make[1]: *** [tkparse.o] Error 127
make[1]: Leaving directory `/usr/src/linux-2.4.20/scripts'
make: *** [xconfig] Error 2
[EMAIL PROTECTED] linux-2.4.20]#
now....just check the obvious....
[EMAIL PROTECTED] linux-2.4.20]# rpm -qa | grep ncurses ncurses-5.2-28 ncurses-devel-5.2-28 [EMAIL PROTECTED] linux-2.4.20]#
hope someone has some ideas..if more info is required pls ask.
thanks
gerry
PS. Kernel compiling is not something i have done alot of.
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug