[GUFSC] Problemas ao instalar o Gimp

Fernando Deschamps ferdes em das.ufsc.br
Segunda Janeiro 12 10:36:27 BRST 2004


Possivelmente está faltando o pacote de desenvolvimento do GTK+
(gtk+2-devel ou algo parecido - não sei qual é no Mandrake). Tente
instalá-lo ou instalar apenas os headers do source do GTK+2.2 (make
install-headers, install-source ou algo parecido).

Um abraço!

Fernando.

On Sun, 2004-01-11 at 19:12, Rafael B wrote:
> Pessoal, estou tendo problemas ao tentar instalar o gimp. Peguei o arquivo tar.gz, descompactei, e ao rodar o ./configure, no final aparece a mensagem:
> 
> checking for pkg-config... (cached) /usr/bin/pkg-config
> checking for GTK+ - version >= 2.2.2... no
> *** Could not run GTK+ test program, checking why...
> *** The test program failed to compile or link. See the file config.log for th     e
> *** exact error that occured. This usually means GTK+ is incorrectly installed     .
> configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
> [root em localhost gimp-1.3.23]# ./configurecd '/home/italiano/gimp-1.3.23'
> bash: ./configurecd: No such file or directory
> 
> O estranho é que tenho o gtk 2.2.2 com essa versão instalado.
> Aí então vou no config.log gerado e não entendo nada. Vou no arquivo Install que contém as instruções de intalação e lá diz o seguinte sobre o erro:
> 
> configure' uses pkg-config, a tool that replaces the old foo-config
> scripts. The most recent version is available from 
> 	http://www.freedesktop.org/software/pkgconfig/
> 
> 'configure' tries to compile and run a short GTK+ program. There are
> several reasons why this might fail:
> 
> * pkg-config could not find the file 'gtk+-2.0.pc' that gets installed 
>   with GTK. (This file is used to get information about where GTK+ is
>   installed.)
> 
>   Fix: Either make sure that this file is in the path where pkg-config 
>   looks for it (try 'pkg-config --debug' or add the location of 
>   gtk+-2.0.pc to the environment variable PKG_CONFIG_PATH before running 
>   configure.
> 
> * The GTK+ libraries were not found at run time. The details
>   of how to fix this problem will depend on the system:
> 
>   Fix: On Linux and other systems using ELF libraries, add the
>   directory to /etc/ld.so.conf or to the environment variable 
>   LD_LIBRARY_PATH, and run 'ldconfig'.
> 
>   On other systems, it may be necessary to encode this path
>   into the executable, by setting the LDFLAGS environment variable
>   before running configure. For example:
> 
>     LDFLAGS="-R/home/joe/lib" ./configure
>   or
>     LDFLAGS="-Wl,-rpath -Wl,/home/joe/lib" ./configure
> 
> Não entendi o que fazer para corrigir o erro. Como saber se meu sistema usa ELF libraries? EU vi que tenho o arquivo ld.so.conf. Tb estou baixando o pkgconfig pra ver se o problema é ele. Gostaria de pedir esclarecimentos sobre o que fazer pra ter esse bendito gimp rodando.
> Agradeço a atenção
> Rafael
-- 

---------------
DESCHAMPS, Eng. Fernando - Mestrando
S2i - Sistemas Industrias Inteligentes
DAS - Departamento de Automação e Sistemas
UFSC - Universidade Federal de Santa Catarina
Telefone: (48) 331-7599
Email: ferdes em das.ufsc.br
---------------
http://s2i.das.ufsc.br
---------------
"Mantenha-o simples; tão simples quanto possível, mas não simplório" -
Albert Einstein.



Mais detalhes sobre a lista de discussão GUFSC