On 2023-07-24 16:35, Patrick Shanahan wrote:
* tony Hamilton <shaky.st...@ntlworld.com> [07-24-23 19:28]:
In a moment of irrationality I migrated my Mint install from 21.1 to 21.2
about 15 hours ago - and quickly found that I no longer had any darktable. I
started to compile from 4.4.2 source, using the process which worked well a
day earlier. The number of compile errors - almost all missing dependencies
- was huge. There is one I cannot resolve; the error message states:

"Make Error at cmake/modules/LibFindMacros.cmake:272 (message):
   REQUIRED PACKAGE NOT FOUND

   We could not find development headers for Glib.  Do you have the necessary
   dev package installed? This package is REQUIRED and you need to install it
   or adjust CMake configuration in order to continue building darktable.

   Relevant CMake configuration variables:

     Glib_INCLUDE_DIR=<not found>
     GlibConfig_INCLUDE_DIR=<not found>
     Glib_LIBRARY=<not found>

   You may use CMake GUI, cmake -D or ccmake to modify the values. Delete
   CMakeCache.txt to discard all values and force full re-detection if
   necessary.

Call Stack (most recent call first):
   cmake/modules/FindGlib.cmake:40 (libfind_process)
   src/CMakeLists.txt:276 (find_package)"

Synaptic cannot find a package called Gib or Glib-dev or their development
headers or any of these CMake configuration variables. How do I work around
this? Synaptic finds a large number of packages with names of the form
lib*glib-dev; are any of these relevant? Which ones?
gee, you updated to a newer system version and your installed applications
were not updated.  that's a distro problem or a sysop who didn't properly
update  :(

possibly bad search parameters.  I have:
   glib2-devel
   glibc-devel
but on openSUSE Tumbleweed

but I searched "rpm -qa *devel* | grep -i glib"
I cannot tell you the synaptic parameters.

and you quite possibly will have more devel packages missing.  you
referred earlier to a command that updated/installed apps necessary for
building.  did you do that?

$ apt-cache search libglib
libglib-object-introspection-perl - Perl bindings for gobject-introspection libraries
libglib-perl - interface to the GLib and GObject libraries
libglib2.0-0 - GLib library of C routines
libglib2.0-bin - Programs for the GLib library
libglib2.0-data - Common files for GLib library
libglib2.0-dev - Development files for the GLib library
libglib2.0-dev-bin - Development utilities for the GLib library
libglib2.0-doc - Documentation files for the GLib library
libglibmm-2.4-1v5 - C++ wrapper for the GLib toolkit (shared libraries)
libglibmm-2.4-dev - C++ wrapper for the GLib toolkit (development files)
libglibmm-2.4-doc - C++ wrapper for the GLib toolkit (documentation)
libglib-testing-0-0 - test library providing test harnesses and mock classes
libglib-testing-0-dev - Development files for the libglib-testing library
libglib-testing-doc - Documentation for the libglib-testing library
libglib2.0-cil - CLI binding for the GLib utility library 2.12
libglib2.0-cil-dev - CLI binding for the GLib utility library 2.12
libglib2.0-tests - GLib library of C routines - installed tests
libglib3.0-cil - CLI binding for the GLib library of C routines
libglib3.0-cil-dev - CLI binding for the GLib utility library 2.12
libglibd-2.0-0 - GLib library of C routines - D bindings
libglibd-2.0-dev - GLib library of C routines - development files for D
libglibmm-2.68-1 - C++ wrapper for the GLib toolkit (shared libraries)
libglibmm-2.68-dev - C++ wrapper for the GLib toolkit (development files)
libglibmm-2.68-doc - C++ wrapper for the GLib toolkit (documentation)
librust-glib-sys-dev - FFI bindings to libglib-2.0 - Rust source code

Mint is still based on Ubuntu, as far as I know. The file you need is libglib2.0-dev, the 6th file returned in the above query.
On Ubuntu, that would be installed by:

sudo apt install libglib2.0-dev

Any other needed dependencies would also be installed.

Jack
____________________________________________________________________________
darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Reply via email to