First of all, you shouldn't be having to compile pygtk. You can just use "sudo apt-get install python-gtk2". In Ubuntu Feisty, at least, this will get you pygtk 2.10.4. If you really want to compile it, though, or you want that version and you're on too old a version of Ubuntu, fix the error with "sudo apt-get install python-dev".