problem with xconfig
Hi, I'm trying to recompile my kernel (2. 4. 20-8) on RedHat 9, and when I do 'make xconfig', i get the following: ####################################################################### # make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.
Hi,
I'm trying to recompile my kernel (2.4.20-8) on RedHat 9, and when I do 'make xconfig', i get the following:
#######################################################################
[root@localhost linux-2.4.20-8]# 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-8/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
KERNTYPE=`sed -n 's_^/\* Kernel type \(.*\) \*/_\1_p' /boot/kernel.h 2>/dev/null`; \
if [ -f configs/*-ERNTYPE.config ]; then \
conf=`echo configs/*-ERNELTYPE.config`; \
echo "set defaults \"\"" >> kconfig.tk; \
else \
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk; \
fi
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127
########################################################################
and it won't start after that. what should i do?
I'm trying to recompile my kernel (2.4.20-8) on RedHat 9, and when I do 'make xconfig', i get the following:
#######################################################################
[root@localhost linux-2.4.20-8]# 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-8/scripts'
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
KERNTYPE=`sed -n 's_^/\* Kernel type \(.*\) \*/_\1_p' /boot/kernel.h 2>/dev/null`; \
if [ -f configs/*-ERNTYPE.config ]; then \
conf=`echo configs/*-ERNELTYPE.config`; \
echo "set defaults \"\"" >> kconfig.tk; \
else \
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk; \
fi
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.20-8/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127
########################################################################
and it won't start after that. what should i do?
Participate on our website and join the conversation
This topic is archived. New comments cannot be posted and votes cannot be cast.
Responses to this topic
Your problem has something to do with xconfig since it is this program that does not start.
Dont over complicate things and run menuconfig instead
Code:
I would highly advise you since you are prepared to recompile your kernel, that you install the latest vanilla kernel which at this time is
2.4.21 it has some new acpi features you may find interesting.
By all means please read the kernel howto. Compilling the kernel is very daunting at first, but it gets easier.
Dont over complicate things and run menuconfig instead
Code:
#make menuconfigI have seen this same error myself.
I would highly advise you since you are prepared to recompile your kernel, that you install the latest vanilla kernel which at this time is
2.4.21 it has some new acpi features you may find interesting.
By all means please read the kernel howto. Compilling the kernel is very daunting at first, but it gets easier.
Hi there, i am pretty new to linux, so forgive me if any of my jargon is off point
I am experiencing a similar problem to this. I am trying to recompile a kernel also and only get as far as the make xconfig command, where i get the following error message:
[root@localhost linux]# 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/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cmake[1]: gcc: Command not found
make[1]: *** [tkparse.o] Error 127
make[1]: Leaving directory `/usr/src/linux/scripts'
make: *** [xconfig] Error 2
Any ideas on what this particular problem is? maybe it relates strongly and will solve the other problem described at the root of this thread.
Please forgive me if this is a trivial matter, i am but a mere begginer
I am experiencing a similar problem to this. I am trying to recompile a kernel also and only get as far as the make xconfig command, where i get the following error message:
[root@localhost linux]# 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/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cmake[1]: gcc: Command not found
make[1]: *** [tkparse.o] Error 127
make[1]: Leaving directory `/usr/src/linux/scripts'
make: *** [xconfig] Error 2
Any ideas on what this particular problem is? maybe it relates strongly and will solve the other problem described at the root of this thread.
Please forgive me if this is a trivial matter, i am but a mere begginer
You also might want to make sure that the proper tk/tcl packages are installed. Other wise just use make menuconfig
Quote:Hi there, i am pretty new to linux, so forgive me if any of my jargon is off point
I am experiencing a similar problem to this. I am trying to recompile a kernel also and only get as far as the make xconfig command, where i get the following error message:
[root@localhost linux]# 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/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cmake[1]: gcc: Command not found
make[1]: *** [tkparse.o] Error 127
make[1]: Leaving directory `/usr/src/linux/scripts'
make: *** [xconfig] Error 2
Any ideas on what this particular problem is? maybe it relates strongly and will solve the other problem described at the root of this thread.
Please forgive me if this is a trivial matter, i am but a mere begginer
It looks like from the line that saysCode:
GCC is the GNU compiler Install this and try again.
I am experiencing a similar problem to this. I am trying to recompile a kernel also and only get as far as the make xconfig command, where i get the following error message:
[root@localhost linux]# 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/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.cmake[1]: gcc: Command not found
make[1]: *** [tkparse.o] Error 127
make[1]: Leaving directory `/usr/src/linux/scripts'
make: *** [xconfig] Error 2
Any ideas on what this particular problem is? maybe it relates strongly and will solve the other problem described at the root of this thread.
Please forgive me if this is a trivial matter, i am but a mere begginer
It looks like from the line that saysCode:
tkparse.cmake[1]: gcc: Command not foundthat u dont have gcc installed.
GCC is the GNU compiler Install this and try again.