checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GTK... no
configure: error: Package requirements (gtk+-2.0 >= 2.2) 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.
joe-pc> ls -R /usr/lib/x86_64-linux-gnu/libgtk*
/usr/lib/x86_64-linux-gnu/libgtk-3.so@
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0@
/usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2200.30
/usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1@
/usr/lib/x86_64-linux-gnu/libgtksourceview-3.0.so.1.8.0
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0@
/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.32
/usr/lib/x86_64-linux-gnu/libgtk2.0-0:
gtk-query-immodules-2.0*
/usr/lib/x86_64-linux-gnu/libgtk-3-0:
gtk-query-immodules-3.0*
root@joe-pc:~# apt install gtk-2.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gir1.2-gtk-2.0' for regex 'gtk-2.0'
Note, selecting 'libspice-client-gtk-2.0-1' for regex 'gtk-2.0'
Note, selecting 'gir1.0-gtk-2.0' for regex 'gtk-2.0'
gir1.2-gtk-2.0 is already the newest version (2.24.32-1ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Fix this by installing the GTK 2 development package:
sudo apt install libgtk2.0-dev