Terraform requires the following:
libglib and libgtk 1.2.x. You should be advised that due to some semi-serious bugs, libgkt 1.2.4 is notsupported.
libgtk-- 1.0.x (Gtk-- 1.0.1 or greater recommended)
The configure scripts checks wether all necessary compiler features are supported on your system. Typically, you should try to have the most recent version of the required libraries installed on your system.