Skip to contentSkip to conversation

make xconfig fails

DISCUSSION Ben Carrell 2 participants 2 messages Dec 7, 2001

lore
Share & tools
lore
#0 lore raw

Is anyone else experiencing errors like the below when trying to run 'make xconfig'. I have tcl/tk install fine, I'm not sure what else to check...please help :)

root@london:/usr/src/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-2.4.16/scripts'
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.16/scripts'
wish -f scripts/kconfig.tk
Application initialization failed: unknown color name "Black"
Error in startup script: can't invoke "button" command: application has been destroyed
   while executing
"button .ref"
   (file "scripts/kconfig.tk" line 51)
make: *** [xconfig] Error 1
#1 lore raw

I remember this happening when DISPLAY variable is not set or X11 server doesn't allow connections.
(run 'xhost +localhost' as the user of the display, and "export DISPLAY="localhost:0.0"' as root)

George

Quoted 32 lines · Ben Carrell

Is anyone else experiencing errors like the below when trying to run
'make xconfig'. I have tcl/tk install fine, I'm not sure what else to
check...please help :)

root@london:/usr/src/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-2.4.16/scripts'
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.16/scripts'
wish -f scripts/kconfig.tk
Application initialization failed: unknown color name "Black"
Error in startup script: can't invoke "button" command: application has 
been destroyed
    while executing
"button .ref"
    (file "scripts/kconfig.tk" line 51)
make: *** [xconfig] Error 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 13 lines
Juergen Sawinski
Max-Planck-Institute for Medical Research
Dept. of Biomedical Optics
Jahnstr. 29
D-69120 Heidelberg
Germany

Phone:  +49-6221-486-309
Fax:    +49-6221-486-325

priv.
Phone:  +49-6221-418 848
Mobile: +49-171-532 5302