darktable install and LLVM 14

I wanted to install a current version of darktable master but it requires LLVM version 14. My laptop has version 13 but the package manager will not allow me to remove it due to dependencies. I tried tracking down each dependency to uninstall that but it to had additional dependencies. And the package manager would not allow me to update to the git version of LLVM, which is version 14. So how do I get LLVM version 14?

Operating system???

1 Like

linux manjaro

With llvm version 13 it building fine. Warning for version 14 can be ignored.
Same manjaro.

I’m still getting this error message:

CMake Warning at CMakeLists.txt:314 (find_package):
Could not find a configuration file for package “LLVM” that is compatible
with requested version “14”.

The following configuration files were considered but not accepted:

/usr/lib64/cmake/llvm/LLVMConfig.cmake, version: 13.0.1
/usr/lib/cmake/llvm/LLVMConfig.cmake, version: 13.0.1
/lib64/cmake/llvm/LLVMConfig.cmake, version: 13.0.1
/lib/cmake/llvm/LLVMConfig.cmake, version: 13.0.1

No idea where you’re getting this requirement from, so maybe you might want to start from scratch with a clean build folder.

dt is using LLVM 12 for CI currently on Linux and is building just fine.

Plus there have issues with Intel and v14

Are you perhaps using an old version of CMake, seems the LLVM check requires at least 3.9?

I reinstalled all the required and optional dependencies including lensfun but now I am getting this:

In file included from /home/dean/darktable/build/lib/darktable/plugins/introspection_lens
.cc:85:
/home/dean/darktable/src/iop/lens.cc: In function ‘lfModifier* get_modifier(int*, int, in
t, const dt_iop_lensfun_data_t*, int, gboolean)’:
/home/dean/darktable/src/iop/lens.cc:346:92: error: no matching function for call to ‘lfM
odifier::lfModifier(const float&, int&, int&, lfPixelFormat, int)’
346 | fModifier(d->crop, w, h, LF_PF_F32, (force_inverse) ? !d->inverse : d->inverse);
| ^

compilation terminated due to -Wfatal-errors.
make[2]: *** [lib/darktable/plugins/CMakeFiles/lens.dir/build.make:82: lib/darktable/plug
ins/CMakeFiles/lens.dir/introspection_lens.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:6331: lib/darktable/plugins/CMakeFiles/lens.dir/all] E
rror 2

I follow the steps provided on github and remove the build dir and opt/darktable directories. I’ve re-cloned the git darktable directory twice… This procedure has been working for several years but now something is not working right.
I’m beginning to think I just need to do a fresh install of manjaro and start over.

@Dean What Manjaro edition are you using,
xfce, plasma, or gnome?
I am in the middle of a heavy compilation just now,
but when/if it reports success, I can dive down & have a look.

Have fun!
Claes in Lund, Sweden

plasma, the latest updates as provided by the package manager

OK. My super-compilation was a success, meaning that
I can set off an SSD to Manjaro plasma experiments
— hoping that I will be able to spot what’s problematic…

As a famous movie star once promised: I’ll be back!

Have fun!
Claes in Lund, Sweden

Sooooo… I have just checked. Works just fine. Here is what I did:

a) I installed latest Manjaro Plasma on an SSD of its own.
b) I installed the following pieces of software, using the Add/remove Software facility:

  • base-devel
  • perl-image-exiftool
  • intltool
  • pugixml

c) And then I followed the normal git clone and darktable compile instructions.

Worked just fine.

OK?

Have fun!
Claes in Lund, Sweden

Thanks,
Dean

It kind of compiles okay but when I select the exe file and ask it to run in konsole it give me this error:
/opt/darktable/bin/darktable: error while loading shared libraries: liblensfun.so.2: cannot open shared object file: No such file or directory

Did you git checkout master? Or one of the other versions?

a) Master

b) A few posts up you wrote that you

reinstalled all the required and optional dependencies including lensfun

Version?

c) In a terminal, what happens if you type

lensfun-update-data

I bit the bullet and re-install linux. Darktable compiled and ran perfect, just as it had been dong for years. Thank you for your time.

2 Likes

Super!

Have fun,
Claes in Lund, Sweden