gtk+-2.2.4 not installing due to lack of glib
I have looked through SO many HOW-TOs and so many threads and i cant figure out what to do. I've been trying for a week to get GAIM 0.68 installed on my PC.
I order to do this, i require gtk and in order to install gtk, I need glib. I dowloaded gtk+-2.2.4 and glib-2.0.0.
I followed the INSTALL file for glib, that is, ./configure, make, make install. Everything went without a problem.
Then I tried to install gtk. When I type ./configure, it checks for a bit and then returns:
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >= 1.0.1... Requested 'glib-2.0 >= 2.1.4' but version of GLib is 2.0.0
configure: error: Library requirements (glib-2.0 >= 2.1.4 atk >= 1.0.1 pango >=
1.0.1) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
At which point it stops. I have tried the export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig command as suggested by some threads, but it didn't work.
I feel like I am very close and just need one piece of the jigsaw.
PLEASE help. Thanks in advance for any help.