LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Arch (https://www.linuxquestions.org/questions/arch-29/)
-   -   why can i not do a make xconfig? (https://www.linuxquestions.org/questions/arch-29/why-can-i-not-do-a-make-xconfig-115481/)

Goatdemon 11-13-2003 01:20 AM

why can i not do a make xconfig?
 
why cant i do "make xconfig" when compiling my kernel, ive redownloaded various tar.bz2 kernel files and have gotten the same error, on this last try i attempted to install from the tar.gz file. i can do make menuconfig but i'd rather figure out the problem. here are the error messages i recieve....

linux linux-2.4.22 linux-2.4.22.tar.gz
[root@myhost src]# cd linux-2.4.22
[root@myhost linux-2.4.22]# 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.22/scripts'
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkparse.o tkparse.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkcond.o tkcond.c
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -c -o tkgen.o tkgen.c
gcc -o tkparse tkparse.o tkcond.o tkgen.o
cat header.tk >> ./kconfig.tk
./tkparse < ../arch/i386/config.in >> kconfig.tk
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
echo "set ARCH \"i386\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/linux-2.4.22/scripts'
wish -f scripts/kconfig.tk
make: wish: Command not found
make: *** [xconfig] Error 127

slakmagik 11-13-2003 02:20 AM

"make: wish: Command not found"

Sounds like a missing, incomplete, or misplaced tcl/tk install, specifically 'wish'. I wouldn't know how to fix that in Arch, but I'd look for something like that.

LSD 11-13-2003 08:19 PM

Yeah, xconfig needs Tcl/Tk before it'll work. I'd imagine fixing it on Arch would be as simple as just using pacman to install tcl and tk:

Code:

pacman -Ss tcl
pacman -Ss tk


Goatdemon 11-13-2003 10:14 PM

thanks, it worked.


All times are GMT -5. The time now is 02:29 AM.