[Solved] Compilation crash on Manjaro

Manjaro current on a brand new laptop.

I get the following error:

yay art-rawconverter

...

==> Sources are ready.
==> Making package: art-rawconverter 1.9.1-1 (Sat 19 Jun 2021 05:24:34 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:5 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
See also "/home/froggy/.cache/yay/art-rawconverter/src/art-rawconverter_1.9.1_build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
error making: art-rawconverter

the standard tools/utilities are installed

$ sudo pacman -S --needed cmake exiv2 expat fftw glib2 glibmm gtk3 gtkmm3 lcms2 lensfun libcanberra libiptcdata libjpeg-turbo libpng librsvg libsigc++ libtiff zlib
warning: cmake-3.20.3-1 is up to date -- skipping
warning: exiv2-0.27.3-1 is up to date -- skipping
warning: expat-2.4.1-1 is up to date -- skipping
warning: fftw-3.3.9-1 is up to date -- skipping
warning: glib2-2.68.2-1 is up to date -- skipping
warning: glibmm-2.66.1-2 is up to date -- skipping
warning: gtk3-1:3.24.29-2 is up to date -- skipping
warning: gtkmm3-3.24.5-2 is up to date -- skipping
warning: lcms2-2.12-1 is up to date -- skipping
warning: lensfun-0.3.95-4 is up to date -- skipping
warning: libcanberra-0.30+2+gc0620e4-4 is up to date -- skipping
warning: libiptcdata-1.0.4-5 is up to date -- skipping
warning: libjpeg-turbo-2.1.0-1 is up to date -- skipping
warning: libpng-1.6.37-3 is up to date -- skipping
warning: librsvg-2:2.50.7-1 is up to date -- skipping
warning: libsigc++-2.10.7-2 is up to date -- skipping
warning: libtiff-4.3.0-1 is up to date -- skipping
warning: zlib-1:1.2.11-4 is up to date -- skipping
 there is nothing to do

If I try to run ART directly from the untarred ART-1.9.1-linux64.tar.xz I get:

$ ./ART.bin 
./ART.bin: /usr/lib/libtiff.so.5: no version information available (required by ./ART.bin)
./ART.bin: symbol lookup error: ./ART.bin: undefined symbol: _ZN5Exiv210enableBMFFEb

Any suggestion on what to do?

Thank you

Oops! Fixed

The problem was with the less than fully competent operator that forgot to do:

sudo pacman -S base-devel

Now it compiles, sorry about the noise :innocent:

Glad you solved the building problem, but I’m still interested in getting this to work: what happens if you run the ART script (not ART.bin) from the pre-built binary?

I get:

$ ./ART
./ART: line 5: ./lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: Permission denied
./ART.bin: error while loading shared libraries: libselinux.so.1: cannot open shared object file: No such file or directory

BTW, notes:

  1. This is brand new laptop, my desktop “fried” literally and had to be replaced.
  2. Just did a fresh Manjaro install. I’m in the process of installing my stuff and moving the data.
  3. I have another very old and slow laptop running Opensuse 15.3 and running ./ART works

Thanks