I have set PKG_CONFIG_PATH to /home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib64/pkgconfig:/home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib/pkgconfig:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib64/pkgconfig:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib/pkgconfig:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib64/pkgconfig:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib/pkgconfig:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib64/pkgconfig:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib/pkgconfig:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib64/pkgconfig:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib/pkgconfig:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib64/pkgconfig:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib/pkgconfig:/home/vanessa/.cpkg/pango-1.43.0-138685740aedbf9/lib64/pkgconfig:/home/vanessa/.cpkg/pango-1.43.0-138685740aedbf9/lib/pkgconfig:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib64/pkgconfig:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib/pkgconfig:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib64/pkgconfig:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib/pkgconfig:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib64/pkgconfig:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib/pkgconfig:/home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib64/pkgconfig:/home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib/pkgconfig:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib64/pkgconfig:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib/pkgconfig:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib64/pkgconfig:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib/pkgconfig:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib64/pkgconfig:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64/pkgconfig:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib/pkgconfig:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib64/pkgconfig:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib/pkgconfig:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib64/pkgconfig:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib/pkgconfig:/home/vanessa/.cpkg/fribidi-1.0.5-1749c3dd5634cfc7/lib64/pkgconfig:/home/vanessa/.cpkg/fribidi-1.0.5-1749c3dd5634cfc7/lib/pkgconfig:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib64/pkgconfig:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib/pkgconfig:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib64/pkgconfig:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib/pkgconfig:/home/vanessa/.cpkg/gobject-introspection-1.58.2-25819bb23855eb04/lib64/pkgconfig:/home/vanessa/.cpkg/gobject-introspection-1.58.2-25819bb23855eb04/lib/pkgconfig:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib64/pkgconfig:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib/pkgconfig:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib64/pkgconfig:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib/pkgconfig:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib64/pkgconfig:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib/pkgconfig:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib64/pkgconfig:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib/pkgconfig:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib64/pkgconfig:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib/pkgconfig:/home/vanessa/.cpkg/flex-2.6.3-f84ef9e6431a5db/lib64/pkgconfig:/home/vanessa/.cpkg/flex-2.6.3-f84ef9e6431a5db/lib/pkgconfig:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib64/pkgconfig:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib/pkgconfig:/home/vanessa/.cpkg/bison-3.2.2-602d5216ea3ea3f2/lib64/pkgconfig:/home/vanessa/.cpkg/bison-3.2.2-602d5216ea3ea3f2/lib/pkgconfig:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib64/pkgconfig:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib/pkgconfig:/home/vanessa/.cpkg/atk-2.26.1-3839bf2426c6475f/lib64/pkgconfig:/home/vanessa/.cpkg/atk-2.26.1-3839bf2426c6475f/lib/pkgconfig:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib64/pkgconfig:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib/pkgconfig:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib64/pkgconfig:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib/pkgconfig:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib64/pkgconfig:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib/pkgconfig:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib64/pkgconfig:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib/pkgconfig:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib64/pkgconfig:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64/pkgconfig:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib/pkgconfig: and LD_LIBRARY_PATH to /home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib64:/home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib64:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib64:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib64:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib64:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib64:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib:/home/vanessa/.cpkg/pango-1.43.0-138685740aedbf9/lib64:/home/vanessa/.cpkg/pango-1.43.0-138685740aedbf9/lib:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib64:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib64:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib64:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib:/home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib64:/home/vanessa/.cpkg/cairo-1.16.0-19eb9e2a517e4d8/lib:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib64:/home/vanessa/.cpkg/pixman-0.36.0-1a45168244c97223/lib:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib64:/home/vanessa/.cpkg/libpng-1.6.35-2391f5385d9ca9d7/lib:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib64:/home/vanessa/.cpkg/fontconfig-2.13.1-171ae21065734fa0/lib:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib64:/home/vanessa/.cpkg/freetype-2.9.1-5cbf38d7a883f5ef/lib:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib64:/home/vanessa/.cpkg/expat-2.2.6-3825167e8b2bebc2/lib:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib64:/home/vanessa/.cpkg/gperf-3.1-6e614dd1577db8aa/lib:/home/vanessa/.cpkg/fribidi-1.0.5-1749c3dd5634cfc7/lib64:/home/vanessa/.cpkg/fribidi-1.0.5-1749c3dd5634cfc7/lib:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib64:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib64:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib:/home/vanessa/.cpkg/gobject-introspection-1.58.2-25819bb23855eb04/lib64:/home/vanessa/.cpkg/gobject-introspection-1.58.2-25819bb23855eb04/lib:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib64:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib64:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib64:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib64:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib64:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib:/home/vanessa/.cpkg/flex-2.6.3-f84ef9e6431a5db/lib64:/home/vanessa/.cpkg/flex-2.6.3-f84ef9e6431a5db/lib:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib64:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib:/home/vanessa/.cpkg/bison-3.2.2-602d5216ea3ea3f2/lib64:/home/vanessa/.cpkg/bison-3.2.2-602d5216ea3ea3f2/lib:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib64:/home/vanessa/.cpkg/m4-1.4.18-691c719eaf529762/lib:/home/vanessa/.cpkg/atk-2.26.1-3839bf2426c6475f/lib64:/home/vanessa/.cpkg/atk-2.26.1-3839bf2426c6475f/lib:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib64:/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib64:/home/vanessa/.cpkg/meson-0.49.0-7b66459b8a392dee/lib:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib64:/home/vanessa/.cpkg/python3-3.7.1-54dc62b5514b9cc0/lib:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib64:/home/vanessa/.cpkg/ninja-1.8.2-2dd496610bc5345e/lib:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib64:/home/vanessa/.cpkg/python2-2.7.15-51c5faeaf07bc761/lib:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib64:/home/vanessa/.cpkg/libffi-3.2.1-315d12be8e1e8bd/lib: These both are set when calling ./configure. As you may guess, glib was installed to /home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/ The config.log contains configure:21223: checking for GLIB - version >= 2.28.0 configure:21335: gcc -o conftest -g -O2 -Wall -pthread -I/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/include/glib-2.0 -I/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib/x86_64-linux-gnu/glib-2.0/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES conftest.c -L/home/vanessa/.cpkg/glib-2.58.1-5d63859100b91037/lib/x86_64-linux-gnu -lgobject-2.0 -lgmodule-2.0 -pthread -lgthread-2.0 -pthread -lglib-2.0 >&5 configure:21335: $? = 0 configure:21335: ./conftest configure:21335: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gtk+" | #define PACKAGE_TARNAME "gtk+" | #define PACKAGE_VERSION "2.24.32" | #define PACKAGE_STRING "gtk+ 2.24.32" | #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B" | #define PACKAGE_URL "" | #define GETTEXT_PACKAGE "gtk20" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define GTK_COMPILED_WITH_DEBUGGING "minimum" | #define HAVE_LSTAT 1 | #define HAVE_MKSTEMP 1 | #define HAVE_FLOCKFILE 1 | #define HAVE_GETC_UNLOCKED 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE__NL_TIME_FIRST_WEEKDAY 1 | #define HAVE__NL_MEASUREMENT_MEASUREMENT 1 | #define HAVE__NL_PAPER_HEIGHT 1 | #define HAVE__NL_PAPER_WIDTH 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_LOCALE_H 1 | #define HAVE_LC_MESSAGES 1 | #define HAVE_BIND_TEXTDOMAIN_CODESET 1 | #define HAVE_GETTEXT 1 | #define HAVE_DCGETTEXT 1 | #define ENABLE_NLS 1 | #define GTK_LOCALEDIR "/usr/local/share/locale" | /* end confdefs.h. */ | | #include <glib.h> | #include <stdio.h> | #include <stdlib.h> | | int | main (void) | { | unsigned int major, minor, micro; | | fclose (fopen ("conf.glibtest", "w")); | | if (sscanf("2.28.0", "%u.%u.%u", &major, &minor, µ) != 3) { | printf("%s, bad version string\n", "2.28.0"); | exit(1); | } | | if ((glib_major_version != 2) || | (glib_minor_version != 58) || | (glib_micro_version != 1)) | { | printf("\n*** 'pkg-config --modversion glib-2.0' returned %d.%d.%d, but GLIB (%d.%d.%d)\n", | 2, 58, 1, | glib_major_version, glib_minor_version, glib_micro_version); | printf ("*** was found! If pkg-config was correct, then it is best\n"); | printf ("*** to remove the old version of GLib. You may also be able to fix the error\n"); | printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n"); | printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n"); | printf("*** required on your system.\n"); | printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); | printf("*** to point to the correct configuration files\n"); | } | else if ((glib_major_version != GLIB_MAJOR_VERSION) || | (glib_minor_version != GLIB_MINOR_VERSION) || | (glib_micro_version != GLIB_MICRO_VERSION)) | { | printf("*** GLIB header files (version %d.%d.%d) do not match\n", | GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION, GLIB_MICRO_VERSION); | printf("*** library (version %d.%d.%d)\n", | glib_major_version, glib_minor_version, glib_micro_version); | } | else | { | if ((glib_major_version > major) || | ((glib_major_version == major) && (glib_minor_version > minor)) || | ((glib_major_version == major) && (glib_minor_version == minor) && (glib_micro_version >= micro))) | { | return 0; | } | else | { | printf("\n*** An old version of GLIB (%u.%u.%u) was found.\n", | glib_major_version, glib_minor_version, glib_micro_version); | printf("*** You need a version of GLIB newer than %u.%u.%u. The latest version of\n", | major, minor, micro); | printf("*** GLIB is always available from ftp://ftp.gtk.org.\n"); | printf("***\n"); | printf("*** If you have already installed a sufficiently new version, this error\n"); | printf("*** probably means that the wrong copy of the pkg-config shell script is\n"); | printf("*** being found. The easiest way to fix this is to remove the old version\n"); | printf("*** of GLIB, but you can also set the PKG_CONFIG environment to point to the\n"); | printf("*** correct copy of pkg-config. (In this case, you will have to\n"); | printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n"); | printf("*** so that the correct libraries are found at run-time))\n"); | } | } | return 1; | } | configure:21353: result: no configure:21407: error: *** GLIB 2.28.0 or better is required. The latest version of *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/. Which is perplexing to me. I'll have a look at jhbuild in the meantime. Thanks, Vanessa McHale On 12/18/18 5:27 PM, Rafal Luzynski wrote: > Hi, > > 18.12.2018 17:31 Vanessa McHale <vanessa.mchale@xxxxxxx> wrote: >> Hi all, >> >> [...] >> checking for GLIB - version >= 2.28.0... >> *** 'pkg-config --modversion glib-2.0' returned 2.58.1, but GLIB (2.56.3) >> *** was found! If pkg-config was correct, then it is best >> *** to remove the old version of GLib. > Here seems to be the answers to your question: > >> You may also be able to fix the error >> *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing >> *** /etc/ld.so.conf. Make sure you have run ldconfig if that is >> *** required on your system. >> *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH >> *** to point to the correct configuration files >> no >> configure: error: >> *** GLIB 2.28.0 or better is required. The latest version of >> *** GLIB is always available from ftp://ftp.gtk.org/pub/gtk/. > And here are the questions which I'd like to answer more thoroughly: > >> I have GLIB 2.58.1 installed locally and GLIB 2.56.3 installed via my >> distro. Is there any nice flag I can pass to the configure script to >> make it ignore the error and prefer the locally installed library? > Which version do you want to use and which is actually used instead? > What are the contents of your PKG_CONFIG_PATH and LD_LIBRARY PATH > environment variables? > > It seems to me that your PKG_CONFIG_PATH is set to your locally installed > glib2 but your LD_LIBRARY_PATH is set to your systemwide glib2. > If you want to use the locally installed library then set LD_LIBRARY_PATH > to your local installation (actually: this is a list of paths so your > local path must precede the default system path). If you want to use > the systemwide glib2 then set PKG_CONFIG_PATH to /usr/lib64/pkgconfig > or whatever is the correct location of the *.pc files in your system, > or do not set it and let pkg-config use its default locations. > > You may consider using jhbuild [1] [2] which sets the environment > correctly or you may analyze its behavior to implement your own scripts. > > Regards, > > Rafal > > [1] https://gitlab.gnome.org/GNOME/jhbuild/ > [2] https://wiki.gnome.org/HowDoI/Jhbuild
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx https://mail.gnome.org/mailman/listinfo/gtk-list