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

Re: Complilar o kernel erro:xconfig e erro:menuconfig



Em Wed, 12 Feb 2003 00:05:31 +0000 (WET)
Joel Alexandre <jcma@rnl.ist.utl.pt> escreveu:

> eu estou a tentar compliar o kernel.
> 
> com o make xconfig tenho o seguinte erro:
> (tive q instalar o tk8.3)
> wish -f scripts/kconfig.tk
> 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

Antes de executar o make xconfig, execute xhost +
Depois de configurar o kernel ao seu gosto, execute xhost -
 
> 
> 
> e com o make menuconf obtenho este erro:
> usr/bin/ld: cannot find -lncurses
> collect2: ld returned 1 exit status
> 
> >> Unable to find the Ncurses libraries.
> >>
> >> You must have Ncurses installed in order
> >> to use 'make menuconfig'
> 
> Ja tentei instalar libncurses5 mas ja existia. ja reintalei o tudo mas
> continua  a nao detectar a lib.
> 
> ja procurei no google mas nao encontrei nada...

Instale o pacote libncurses5-dev.

> se que alguem me pode dar uma ajudinha.

Espero que isso ajude :)

> obrigado~
> 
> 
> 
> Joel Alexandre
> Lisboa
> Portugal


-- 
Paulo R. Ormenese
GNU/Linux User #200782
Jundiaí-SP



Reply to: