to see if you have the GTK development files installed properly, type this at a shell:
[code=]pkg-config --exists --print-errors gtk+-2.0[/code]
if everything is installed, it should just run and print out nothing, if it says something like this:
[code=]Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found[/code]
then something is wrong with your installation.
on ubuntu, you can install gnome-devel and you'll get all the GTK stuff you need.
[code=]sudo apt-get install gnome-devel[/code]
it seems that gnome-devel is available on Dapper, which is 6.10:
however there was no 6.0 release, unless you mean 6.06?
Edgy (6.06) isn't supported anymore and has been removed from packages.ubuntu.com, so you may or may not be able to get gnome-devel on it.
As for compiling with glade and without glade, you might want to read this:
http://www.micahcarrick.com/12-24-2007/ ... art-1.html