Salve pessoal!!!

Bem, o meu problema é o seguinte:

Baixei o GIMP 2.2.7 e ao dar o ./configure apareceu a mensagem dizendo que estava faltando o Glib 2.4.5. Até aí tudo bem. Instalei o Glib mais atual (2.6.* se não me engano), e tentei instalar o GIMP novamente e, para minha surpresa:

checking for GLIB - version >= 2.4.5... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: Test for GLIB failed. See the file 'INSTALL' for help.

Enfim, não sei o que faço.

Se alguém puder me ajudar eu agradeço.

Ps.: Estou usando o Red Hat 9.
Pps.: Também já tentei instalar a versão 2.4.5.