Jump to content
Compatible Support Forums
Sign in to follow this  
ndering

problem with xconfig

Recommended Posts

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?

laugh

Share this post


Link to post

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:
#make menuconfig

I 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. smile

Share this post


Link to post

Hi there, i am pretty new to linux, so forgive me if any of my jargon is off point smile

 

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 smile

Share this post


Link to post

You also might want to make sure that the proper tk/tcl packages are installed. Other wise just use make menuconfig

Share this post


Link to post
Quote:
Hi there, i am pretty new to linux, so forgive me if any of my jargon is off point smile

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 smile


It looks like from the line that says
Code:
tkparse.cmake[1]: gcc: Command not found
that u dont have gcc installed.
GCC is the GNU compiler Install this and try again.

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×