GLIB/ATK/librsvg installation issues


I was planning on installing librsvg for use on my wiki, and I have unpacked all the dependencies. I installed GLIB, and started on ATK, but ATK said that GLIB was incorrectly installed. I believe that I correctly installed GLIB (./configure --prefix=$HOME, make, make install).

The error is as follows:

checking for GLIB - version >= 2.5.7… 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:
*** GLIB 2.5.7 or better is required. The latest version of
*** GLIB is always available from If GLIB is installed
*** but not in the same location as pkg-config add the location of the file
*** glib-2.0.pc to the environment variable PKG_CONFIG_PATH.