Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
Le 25/07/2023 à 13:57, Remco Viëtor a écrit : On mardi 25 juillet 2023 10:57:27 CEST tony Hamilton wrote: (...)Given my level of skill and understanding , coupled with the non-specific nature of the error messages generated by CMake, it is impossible for somebody like me to determine precisely what package dependencies are missing from my instance of Linux. Result: compile is bound to fail, until somebody like me gets help from somebody like you. But behind all this frustration there is somebody (somebodies) who know EXACTLY what the dependencies are. It would transform the compile success rate for somebody like me if those dependencies were completely documented somewhere, or, better still, if there was a command which I could copy/paste that would act to meet all those dependencies. But the dependencies *are* listed, just before the (perhaps outdated) commands to install them. The list gives you the library name and minimum required version (if any). It cannot give the package names to install, as they vary between distributions (and perhaps even versions). Then again, I think most distributions have a graphical package manager, with search function (Yast for OpenSUSe, Synaptic(?) for Mint)... And make sure you install the required development packages as well.. There is a learning curve for compiling programs, but once you master it, you are a lot less dependant on packagers. When you run into issues, remember to look at the first error message listed, it's usually the most important (note: *error* message, information and warning messages are often less helpful). I faced this exact same problem when trying to compile 4.4.1, along with the one related to compiler being obsolete. I did not know about the apt-cache search command, so I did search through the net and could find most of the missing libraries. The other one was the export tip, that I now know about, thanks to your contribution. However, people like Tony, many others and I are casual compilers - I personally only do this mainly for dt. So there is really very few chances for us to master the compiling process. I did read the howto pages before trying to compile 4.4.1, but I finally had to ask for help. I know that listing everything that is needed for a peculiar task is tedious - I do this more than once at work, I have to do it on my spare time, and I am neither paid for that, nor rewarded in any way. But then, I am sure that the colleagues that read the docs can go through the whole process - if they even will read it, but this is another thing. There will always be people that will not read the howtos, but then the ones which will have will be able to help them and let the devs do what they really are involved in : offer us this wonderful piece of software. Yes, I know : I am a dreamer... Rgrds, J.-Luc darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
On 25/07/2023 12:57, Remco Viëtor wrote: But the dependencies*are* listed, just before the (perhaps outdated) commands to install them. The list gives you the library name and minimum required version (if any). Ah, I had not understood the significance of this information: I saw the heading 'minimal dependencies' , placed too much emphasis on the word 'minimal', disregarded this information and felt that my view was vindicated when I stumbled across something like 15 hours of repeated running of the build script, incrementally eliminating the 'missing dependencies' error messages - with the absolutely vital support from others on this list. From what you have pointed out, I will in future, be better able to identify the required dependent package. darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
On mardi 25 juillet 2023 10:57:27 CEST tony Hamilton wrote: (...)Given my level of skill and understanding > , coupled with the non-specific nature of the error messages generated > by CMake, it is impossible for somebody like me to determine precisely > what package dependencies are missing from my instance of Linux. Result: > compile is bound to fail, until somebody like me gets help from somebody > like you. > > But behind all this frustration there is somebody (somebodies) who know > EXACTLY what the dependencies are. It would transform the compile > success rate for somebody like me if those dependencies were completely > documented somewhere, or, better still, if there was a command which I > could copy/paste that would act to meet all those dependencies. But the dependencies *are* listed, just before the (perhaps outdated) commands to install them. The list gives you the library name and minimum required version (if any). It cannot give the package names to install, as they vary between distributions (and perhaps even versions). Then again, I think most distributions have a graphical package manager, with search function (Yast for OpenSUSe, Synaptic(?) for Mint)... And make sure you install the required development packages as well.. There is a learning curve for compiling programs, but once you master it, you are a lot less dependant on packagers. When you run into issues, remember to look at the first error message listed, it's usually the most important (note: *error* message, information and warning messages are often less helpful). darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
On 25/07/2023 03:41, Jack Bowling wrote: On 2023-07-24 17:22, tony Hamilton wrote: On 25/07/2023 00:57, Jack Bowling wrote: On 2023-07-24 16:35, Patrick Shanahan wrote: * tony Hamilton [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= GlibConfig_INCLUDE_DIR= Glib_LIBRARY= 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 Thanks for this. At the risk of pushing my luck, could you possible comment on this subsequent error: "CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.22/Modules/FindCURL.cmake:181 (find_package_handle_standard_args) src/CMakeLists.txt:421 (find_package)" Synaptic tells me that I have CURL Package version 7.81.0-1ubuntu1.13 installed, so I don't understand what the compile error is. It appears you are missing the development libraries which are needed
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
Yes, I quite agree. I thought that the package 'build-essential' addressed that need so I installed it before I started the build script - many attempts and hours ago now!. Clearly build-essential doesn't do that - is there a package which does ? On 25/07/2023 03:41, Jack Bowling wrote: It appears you are missing the development libraries which are needed for building code. In Ubuntu, these files are suffixed with the dev label darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
On 2023-07-24 17:22, tony Hamilton wrote: On 25/07/2023 00:57, Jack Bowling wrote: On 2023-07-24 16:35, Patrick Shanahan wrote: * tony Hamilton [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= GlibConfig_INCLUDE_DIR= Glib_LIBRARY= 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 Thanks for this. At the risk of pushing my luck, could you possible comment on this subsequent error: "CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.22/Modules/FindCURL.cmake:181 (find_package_handle_standard_args) src/CMakeLists.txt:421 (find_package)" Synaptic tells me that I have CURL Package version 7.81.0-1ubuntu1.13 installed, so I don't understand what the compile error is. It appears you are missing the development libraries which are needed for building code. In Ubuntu, these files are
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
On 25/07/2023 00:57, Jack Bowling wrote: On 2023-07-24 16:35, Patrick Shanahan wrote: * tony Hamilton [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= GlibConfig_INCLUDE_DIR= Glib_LIBRARY= 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 Thanks for this. At the risk of pushing my luck, could you possible comment on this subsequent error: "CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find CURL (missing: CURL_LIBRARY CURL_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.22/Modules/FindCURL.cmake:181 (find_package_handle_standard_args) src/CMakeLists.txt:421 (find_package)" Synaptic tells me that I have CURL Package version 7.81.0-1ubuntu1.13 installed, so I don't understand what the compile error is. darktable user mailing list to unsubscribe send a mail to
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
On 2023-07-24 16:35, Patrick Shanahan wrote: * tony Hamilton [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= GlibConfig_INCLUDE_DIR= Glib_LIBRARY= 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
Re: [darktable-user] A different build error with 4.4.2 under Mint 21.2
* tony Hamilton [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= > GlibConfig_INCLUDE_DIR= > Glib_LIBRARY= > > 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? -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri Photos: http://wahoo.no-ip.org/piwigo paka @ IRCnet oftc darktable user mailing list to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org