Problema usando 'make gconfig' no ubuntu linux

1

Estou tentando compilar o kernel Linux vanilla 3.12.14 baixado do kernel.org. Quando tento make gconfig , diz:

* Unable to find the GTK+ installation. Please make sure that
* the GTK+ 2.0 development package is correctly installed...
* You need gtk+-2.0, glib-2.0 and libglade-2.0.
*
make[1]: *** No rule to make target 'scripts/kconfig/.tmp_gtkcheck', needed by 'scripts/kconfig/gconf.o'.  Stop.
make: *** [gconfig] Error 2

Agora eu verifiquei e descobri que meu Ubuntu tem as versões mais recentes de libgtk2.0-0, libgtk2.0-bin, libglib2.0-0 e libglib2.0-bin e são instaladas manualmente. Não é possível encontrar o libglade-2.0. Eu não sei como fazer isso para fazer o gconfig funcionar corretamente.

>> sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libglib2.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libglib2.0-0 libglib2.0-bin

Package libgtk2.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libgtk2.0-dev' has no installation candidate
E: Package 'libglib2.0-dev' has no installation candidate
E: Unable to locate package libglade2-dev
    
por JuliandotNut 18.03.2014 / 10:29

1 resposta

4

Você perdeu os pacotes de desenvolvimento.

Eles são libgtk2.0-dev , libglib2.0-dev . libglade2-dev .

Instale-os e tente novamente.

Atualizar

No meu Ubuntu 12.04:

% cuonglm at ~
% apt-cache search libgtk2.0-dev
libgtk2.0-dev - development files for the GTK+ library
% cuonglm at ~
% apt-cache search libglib2.0-dev
libglib2.0-dev - Development files for the GLib library
% cuonglm at ~
% apt-cache search libglade2-dev
libglade2-dev - development files for libglade

Para os seus erros, acho que você quebrou alguns no apt sources.list . Tente adicionar a lista de fontes corretas para 12.04 e execute:

sudo apt-get update
sudo apt-get install libgtk2.0-dev libglib2.0-dev libglade2-dev

Ou você pode instalar a partir do código-fonte, ou seja, este link é para libgtk2.0-dev .

    
por 18.03.2014 / 10:35