2.3. How do I configure/compile GTK+? [GTK 2.x]
Generally, the minimum you need to do is issue the commands:
./configure
make
make install
in the GTK+ source directory.
This generally also holds true for each of the packages that GTK+ depends upon, listed above.
There are various options that you can pass to the configure script in order to change its default settings. The one that you are most likely to want to use is the --prefix argument, which defines where the package is to be install, e.g.
./configure --prefix=/usr
http://www.gtk.org/faq/#AEN261
How to compile programs useing the gtk+ librarys
http://www.gtk.org/tutorial/c39.html#SEC-HELLOWORLD
Compiling "C" And "C++" Programs On Unix Systems - gcc/g++
http://users.actcom.co.il/~choo/lupg/tu ... -unix.html
Automating Program Compilation - Writing Makefiles
http://users.actcom.co.il/~choo/lupg/tu ... files.html
Building And Using Static And Shared "C" Libraries
http://users.actcom.co.il/~choo/lupg/tu ... aries.html