Re: Error con make xconfig para configurar el kernel
31 wrote:
> le pongo la orden y acaba así:
>
> echo "set ARCH \"i386\"" >> kconfig.tk
> cat tail.tk >> kconfig.tk
> chmod 755 kconfig.tk
> make[1]: Leaving directory `/usr/src/kernel-source-2.4.9/scripts'
> wish -f scripts/kconfig.tk
A ver:
supongo que estás trabajando como usuario normal en una sesión X windows y que
te has abierto una xterm y en ella has ejecutado "su -" para convertirte en root
y que después has tecleado "make xconfig" ...
>
> Xlib: connection to ":0.0" refused by server
> Xlib: Client is not authorized to connect to Server
> Application initialization failed: couldn't connect to display ":0.0"
> Error in startup script: invalid command name "button"
> while executing
> "button .ref"
> (file "scripts/kconfig.tk" line 51)
> make: *** [xconfig] Error 1
> root@xuvenka:/usr/src/linux#
... pues pasa que no puedes acceder al display porque está protegido. Ejecuta
desde una terminal *no root* como tu usuario normal "xhost +" y después vuelve a
probar el make xconfig en la ventana de root: creo que ahora funcionará. Otra
posibilidad es que entres directamente a las X como root (yo lo hago para
compialr el kernel y nunca me ha pasado nada).
> he instalado los tk8.3-dev y tcl8.3-dev pero o funciona
Nada, nada, ... no tiene nada que ver con el Tcl-Tk.
Saludos,
================================================================================
JUAN CARLOS AMENGUAL I want the sky to fall in,
UNIVERSIDAD JAUME I I want lightning and thunder,
DEPARTAMENTO DE INFORMÁTICA I want blood instead of rain,
CAMPUS DE RIU SEC, EDIFICIO TI I want the world to make me wonder,
CASTELLON, 12071. SPAIN. I want to walk on water, take a trip to the moon
Phone: +34 964 728361 give me all this and give me it soon
Fax: +34 964 728435 more drink, more dreams, more drugs,
e-mail: jcamen@inf.uji.es more lust, more lies, more love,
but however hard I want
I know deep down inside
I'll never really get more hope
or any more time ...
Robert Smith (The Cure)
- "Want", Wild Mood Swings, 1996, Fiction Rec. -
================================================================================
Reply to: