[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Trying to build a custom kernel (xconfig)



Howdy,

I am trying to build my self a custom kernel and I have run into a problem
that is a bit annoying. To make my .config file, I ran 'make xconfig' and
it crashed out with the following message.

----

bash# make xconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts kconfig.tk
make[1]: Entering directory `/usr/src/kernel-source-2.0.6/scripts'
make -C /usr/src/kernel-source-2.0.6/drivers/sound mkscript
make[2]: Entering directory `/usr/src/kernel-source-2.0.6/drivers/sound'
Compiling Sound Driver v 3.5.5-beta1 for Linux
rm -f configure
gcc -I/usr/src/kernel-source-2.0.6/include -o configure configure.c
./configure script > Config.in
cat lowlevel/Config.tmpl >> Config.in
./configure fixedlocal > local.h
./configure fixeddefines > .defines
make[2]: Leaving directory `/usr/src/kernel-source-2.0.6/drivers/sound'

./tkparse < ../arch/i386/config.in  > kconfig.tmp
cat header.tk >> ./kconfig.tk
cat kconfig.tmp >> kconfig.tk
rm -f kconfig.tmp
echo "set defaults \"arch/i386/defconfig\"" >> kconfig.tk
cat tail.tk >> kconfig.tk
chmod 755 kconfig.tk
make[1]: Leaving directory `/usr/src/kernel-source-2.0.6/scripts'
wish -f scripts/kconfig.tk
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
application-specific initialization failed: couldn't connect to display
":0.0"
invalid command name "button"
    while executing
"button .ref"
    (file "scripts/kconfig.tk" line 26)
make: *** [xconfig] Error 1

----

Now what is this noise about "Xlib: connection to ":0.0" refused by
server"? I know that I can just use 'make config' but that is boring and I
think that this method should work. I also tried 'make menuconfig' and I
crashed out of that as well with a much shorter message.

----

bash# make menuconfig
rm -f include/asm
( cd include ; ln -sf asm-i386 asm)
make -C scripts/lxdialog all
make[1]: Entering directory `/usr/src/kernel-source-2.0.6/scripts/lxdialog'
gcc -O2 -Wall -fomit-frame-pointer -DLOCALE  -DCURSES_LOC="<curses.h>"   -c
lxdialog.c -o lxdialog.o
In file included from lxdialog.c:22:
dialog.h:29: curses.h: No such file or directory
make[1]: *** [lxdialog.o] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.0.6/scripts/lxdialog'
make: *** [menuconfig] Error 2

----

Again, I don't have to use this but I think it should, so I want to fix it.
I ran 'dpkg --list' to find out if I had installed everything that I
thought I would need to run a curses or tk/tcl program and I got this.

----

ii  ncurses-base    1.9.9e-1   Video terminal manipulation: Minimum set of
ii  ncurses-bin     1.9.9e-1   Video terminal manipulation: associated prog
ii  ncurses-term    1.9.9e-1   Video terminal manipulation: additional term
ii  ncurses3.0      1.9.9e-1   Video terminal manipulation: shared librarie

ii  tcl74           7.4p3-5    The Tool Command Language (TCL) v7.4 - Run-T
ii  tcl75           7.5p1-2    The Tool Command Language (TCL) v7.5 - Run-T

ii  tk40            4.0p3-5    The Tk toolkit for TCL and X11 v4.0 - Run-Ti
ii  tk41            4.1p1-2    The Tk toolkit for TCL and X11 v4.1 - Run-Ti

----

Do I have everything I need? is there a document that I haven't read yet (I
have read everything in /usr/src/kernel-sources-2.0.6)? Any clues at all?

Sorry for the long post but I REALLY hate the "Help my computer doesn't
work" posts.

TIA



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: