Hi
I can compile some things that have a configure system, some cmakes, ninja and meson within reason.
I lack the memory or skills to get past the following error and show my puny attempt to bypass it.
Feel free to laugh, we need more laughter.
Error snippet
cat config.log | grep error (SNIPPED out stuff)
configure:6051: $PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_VERSION"
configure:6068: $PKG_CONFIG --exists --print-errors "glib-2.0 >= $GLIB2_VERSION"
configure:6142: $PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_VERSION"
configure:6159: $PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK2_VERSION"
configure:6233: $PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= $GTKMM2_VERSION"
configure:6250: $PKG_CONFIG --exists --print-errors "gtkmm-2.4 >= $GTKMM2_VERSION"
configure:6283: error: Package requirements (gtkmm-2.4 >= 2.10.0) were not met:
so I have a higher version loaded....which reads
cat /usr/local/lib/pkgconfig/gtkmm-3.0.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
datarootdir=${prefix}/share
datadir=${datarootdir}
includedir=${prefix}/include
gmmprocm4dir=${libdir}/gtkmm-3.0/proc/m4
docdir=${datarootdir}/doc/gtkmm-3.0
doxytagfile=${docdir}/reference/gtkmm-3.0.tag
htmlrefdir=${docdir}/reference/html
htmlrefpub=http://library.gnome.org/devel/gtkmm/unstable/
Name: gtkmm
Description: C++ binding for the GTK+ toolkit
Version: 3.22.3
URL: http://www.gtkmm.org/
Requires: atkmm-1.6 >= 2.24.2 giomm-2.4 >= 2.49.1 pangomm-1.4 >= 2.38.2 gtk+-3.0 >= 3.22.0 cairomm-1.0 >= 1.12.0 gdk-pixbuf-2.0 >= 2.35.5 gtk+-unix-print-3.0 gdkmm-3.0
Libs: -L${libdir} -lgtkmm-3.0
Cflags: -I${includedir}/gtkmm-3.0 -I${libdir}/gtkmm-3.0/include
Question one....Why is compile is NOT finding my higher version of 2.10?
OK so in compile it claims
configure: error: Package requirements (gtkmm-2.4 >= 2.10.0) were not met:
No package 'gtkmm-2.4' 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 GTKMM2_CFLAGS and GTKMM2_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
https://linux.die.net/man/1/pkg-config did not enlighten me
So this was my attempt....but error meant I could not attempt to repeat configure command
# ./configure --prefix=/usr/local --disable-debug
commands done as root
prefix=/usr/local
libdir=${exec_prefix}/lib
includedir=${prefix}/include
prefix=/usr/local
libdir=${exec_prefix}/lib
includedir=${prefix}/include
GTKMM2_LIBS=-L${libdir} -lgtkmm-3.0
sh: -lgtkmm-3.0: not found
GTKMM2_CFLAGS=-I${includedir}/gtkmm-3.0 -I${libdir}/gtkmm-3.0/include
sh: -I/lib/gtkmm-3.0/include: not found
any clues?