Darktable from source on Mint 20.2

I’ve been running Mint Linux 19.something for several years. I have been compiling darktable from source on 19.something.

But today, after installing Mint 20.2 I was unable to fight through the dependencies.

from a …/darktable/build directory
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable/ …

now passes various dependency tests until:
External project “pugixml” has no SOURCE_DIR

sudo apt-cache search pugixml shows only
libpugixml-dev and
libpugixml1v5 …both of which I installed without fixing the error.

Do I have to clone and do something with pugixml sources from github? Right now I’m stuck on this one.

I recently installed POPos and I was going to use the Ubuntu instructions but the Debian ones were simple so I tried it…worked fine I had all the dependencies and it built fine…

I am not a linux guy but this might actually work for you , ie either the Ubuntu or Debian instructions taken from the install instructions here

Ubuntu
sed -e ‘/^#\sdeb-src /s/^# *//;t;d’ “/etc/apt/sources.list”
| sudo tee /etc/apt/sources.list.d/darktable-sources-tmp.list > /dev/null
&& (
sudo apt-get update
sudo apt-get build-dep darktable
)
sudo rm /etc/apt/sources.list.d/darktable-sources-tmp.list

Debian
sudo apt-get build-dep darktable

Interesting. I’ve been diverted. This new Mint Linux 20.2 produces no sound, and it seems to be a common problem. So I’m fighting with that now…and thinking about going back to openSuse, after Mint for the last 7 or 8 years.

Im primarily running Windows and I have done the VM thing and dual booting various flavours for short periods…but I did recently download… https://pop.system76.com/ POPos and its seems really easy to use and very attractive on the eye simple clean interface…It may get me to switch over time but the best thing is that I installed it and no bootloader installed so I can just use my motherboard key and select the drive its on and it boots …in the past I always got tangled up with the grub bootloader…I installed the dependencies and DT builds with the script so all good on this front for me…

Perhaps this would be obvious to others.

git submodule update --init --recursive --progress
build.sh
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable/ …

…and it built on Mint 20.2
I didn’t run the build.sh script the first time around.