GTK+ is a large package that is dependent on a number of other tools and libraries. It is recommended that you use precompiled binary packages for your system if possible
To compile GTK+ from source you need a C compiler (gcc) and the X Window System and associated development libraries and packages on your system.
You will also need to have installed the tools and libraries that GTK+ depends upon. These are listed below in the order in which they need to be installed: