Well, I thought that development package of gtk was in the essential....
The error message is saying that you need gtk with a version >1.2.0.
Install it with
sudo apt-get install libgtk1.2-dev
If it is already installed then for some reasons it is not in your path.
First try to install libgtk1.2-dev e see if it works