Thank you for your reply.
Yes it does seem I already have libgtk2.0-0 installed:
apt install libgtk2.0-0
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgtk2.0-0 is already the newest version (2.24.30-1ubuntu1.16.04.2).
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.
So that would mean gtk+2.0 is in fact installed - correct ?
The reason I asked the question is that I am actually trying to build gtkam
which when I try to configure gives me the following error:
checking libgphoto2 cpp flags... "-I/local/usr/local/gphoto2/include"
checking for gp_port_info_get_name... no
checking for GTK... no
configure: error: Package requirements (gtk+-2.0) were not met:
No package 'gtk+-2.0' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables GTK_CFLAGS
and GTK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Possibly this means it is looking in the wrong place ?
Looking at the configure file it looks like it uses the following command to
determine the existence of the package:
/usr/bin/pkg-config --exists --print-errors gtk+-2.0
I do not know where pkg-config looks by default, but is it possible this is
not looking in the correct place ? and if so where the package would be found
(so I can add it to PKG_CONFIG_PATH)?