Compatible Support Forums: problem with xconfig

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

problem with xconfig

#1 User is offline   ndering 

  • stranger
  • Group: Members
  • Posts: 12
  • Joined: 13-June 03

Posted 16 June 2003 - 02:33 AM

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
0

#2 User is offline   blueworm 

  • member
  • Group: Members
  • Posts: 169
  • Joined: 02-March 03

Posted 16 June 2003 - 02:33 PM

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
0

#3 User is offline   Kanniball 

  • stranger
  • Group: Members
  • Posts: 16
  • Joined: 03-March 03

Posted 18 June 2003 - 01:44 PM

you must install the tcl/tk packages...
0

#4 User is offline   TheBOI 

  • stranger
  • Group: Members
  • Posts: 1
  • Joined: 01-July 03

Posted 01 July 2003 - 02:47 AM

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
0

#5 User is offline   punkisdead 

  • member
  • Group: Members
  • Posts: 118
  • Joined: 08-August 02

Posted 03 July 2003 - 09:14 PM

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

#6 User is offline   blueworm 

  • member
  • Group: Members
  • Posts: 169
  • Joined: 02-March 03

Posted 04 July 2003 - 06:31 PM

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

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users