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 a...




Topic Options
#2072 - 06/16/03 02:33 AM problem with xconfig
ndering Offline
stranger

Registered: 06/13/03
Posts: 12
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

Top
Advertisement
#2076 - 06/16/03 02:33 PM Re: problem with xconfig
blueworm Offline
member

Registered: 03/02/03
Posts: 169
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

Top
#2098 - 06/18/03 01:44 PM Re: problem with xconfig
Kanniball Offline
stranger

Registered: 03/03/03
Posts: 16
you must install the tcl/tk packages...

Top
#2188 - 07/01/03 02:47 AM Re: problem with xconfig
TheBOI Offline
stranger

Registered: 07/01/03
Posts: 1
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

Top
#2210 - 07/03/03 09:14 PM Re: problem with xconfig
punkisdead Offline
member

Registered: 08/08/02
Posts: 118
You also might want to make sure that the proper tk/tcl packages are installed. Other wise just use make menuconfig

Top
#2222 - 07/04/03 06:31 PM Re: problem with xconfig
blueworm Offline
member

Registered: 03/02/03
Posts: 169
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&#91;1&#93;&#58; gcc&#58; Command not found
that u dont have gcc installed.
GCC is the GNU compiler Install this and try again.

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Full guide: Review Some Useful Tools For iPod/iPho
by carcolor3
6 seconds ago
Full Reviews: All Popular iPod Tools Review and Do
by amanda963
Today at 05:01 AM
x86 OS, RAM, & Virtual Machines
by Myke
Yesterday at 08:16 PM
Ram Question
by JohnnyAshes
12/21/09 09:50 PM
NEWBIE needs help with REALTEK
by SerryJW
12/21/09 06:09 AM
Who's Online
2 Registered (carcolor3, JohnnyAshes), 138 Guests and 37 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
91369 Members
24 Forums
59159 Topics
189678 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22