If you're compiling anything from source, you first need to get the following from your distro - use Synaptic for all debian based ones.
autoconf
build-essential - gives very obscure faults if missing!
pkg-config
There may be others you need for this particular application.
I looked at the OPs details ... and missed the fact that he was trying to compile
Of course, you are right ... missing deps. The message that configure is posting is simple: get the -dev package of the glib. in my case it is "libgilb2-dev".
The -dev versions of the libs usually are the ones with the header files needed to compile a program.