problem with xconfig

This is a discussion about problem with xconfig in the Everything Linux category; 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.

Everything Linux 1800 This topic was started by , . Last reply by ,


data/avatar/default/avatar02.webp

12 Posts
Location -
Joined 2003-06-13
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?


Participate in our website and join the conversation

You already have an account on our website? To log in, use the link provided below.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This subject has been archived. New comments and votes cannot be submitted.
Jun 16
Created
Jul 4
Last Response
0
Likes
3 minutes
Read Time
User User User User
Users

Responses to this topic


data/avatar/default/avatar02.webp

169 Posts
Location -
Joined 2003-03-02
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.

data/avatar/default/avatar19.webp

16 Posts
Location -
Joined 2003-03-03
you must install the tcl/tk packages...

data/avatar/default/avatar27.webp

1 Posts
Location -
Joined 2003-07-01
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

data/avatar/default/avatar40.webp

118 Posts
Location -
Joined 2002-08-08
You also might want to make sure that the proper tk/tcl packages are installed. Other wise just use make menuconfig

data/avatar/default/avatar02.webp

169 Posts
Location -
Joined 2003-03-02
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:
tkparse.cmake[1]: gcc: Command not found
that u dont have gcc installed.
GCC is the GNU compiler Install this and try again.