On Tuesday 18 Nov 2003 21:39, Robert Crawford wrote:
> On Tuesday 18 November 2003 4:22 pm, Paul Stear wrote:
> > This is the error output, hope it helps, I seem to remember along
> > time ago mention was made of needing something extra for xconfig to
> > work.
> >
> > bash-2.05b# cd /usr/src/linux
> > bash-2.05b# 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-gentoo-r1/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.20-gentoo-r1/scripts' wish -f
> > scripts/kconfig.tk
> > make: wish: Command not found
> > make: *** [xconfig] Error 127
> > bash-2.05b#
>
> It's been my experience that some of the later 2.4 kernels didn't
> support xconfig, at least on Gentoo, and I got the same error. I
> never figured out why, and never pursued it, as I've gone to 2.6
> kernels anyway. I did compile a bunch of 2.4 kernels on Mandrake, but
> IIRC, I always used xconfig with them. Also, xconfig requires qt to
> be installed, and if you have kde installed, qt is too.
>
Yes, sometimes it doesn't work, even with a good tk and wish.  I prefer 
xconfig too, but because it refuses to work with some kernels I do this 
in my build-kernel script:

###############################################################
# use old if you told it to, or preferably xconfig if it can, else
# menuconfig.
if [ "$1" == "old" ]; then
        make oldconfig
else
        make xconfig
        [ $(echo $?) -eq 0 ] || make menuconfig
fi
###############################################################

Peter
-- 
======================================================================
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.23_pre8-gss)
i686 AMD Athlon(tm) XP 3200+
======================================================================


--
[EMAIL PROTECTED] mailing list

Reply via email to