Hi Talha,
You did not build the GUI program, only gretlcli. It is missing the
GTK libraries:
checking for GTK... no
GTK 2 >= 2.14.0 not found
You may have to add the option --with-gtk-3 (check with ./configure --help).
It would not harm if you remove the option --without-gnome.
In the end you should have:
Build with GTK version: 2.14
Good luck,
Hélio