RawTherapee 5.12 Build Errors

I’m having problems building RT 5.12 from source. I do this about once every year or two, so I inevitably forget the nuances that make it work.

I’m running Xubuntu Linux, based on Ubuntu 24.04.3 LTS.

I’m following the instructions on the RawPedia page, but keep getting errors. First, the whole process seemed to work correctly, but I was just getting version 5.10 as an end result.

I guessed that I had something from an old installation still pointing to the 5.10 source, so I renamed the /code-rawtherapee folder and tried again, so it would be starting from scratch.

But now I get hung up on LibRaw. Here’s the relevant part of the script output with the error:

Makefile.am:28: its definition is in aclocal’s search path.
Makefile.am: installing ‘./depcomp’
autoreconf: error: automake failed with exit status: 1
CMake Error at rtengine/LibRaw.cmake:51 (message):
Could not generate LibRaw configuration script
Call Stack (most recent call first):
rtengine/CMakeLists.txt:185 (include)

– Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target ‘install’. Stop.

If I run the ./build-rawtherapee script I just get:

Program name: rawtherapee
Build type: release
Build without updating: false

No updates, nothing to do.

But as I mentioned above, the built version is 5.10, not 5.12.

I’ve used Linux for years, but I’ll admit to being someone who relies on Googling and hoping when I get in over my head. Any help here would be appreciated. I’ve built RT from source at least several times in the past, but I just don’t recall this happening before.

Hello, are libraw-bin and libraw-dev installed on your system?

I don’t understand the 5.10/5.12 problem. When you activate the ./build-rawtherapee script it should download the latest code, and that is 5.12.

I’ll have to try to figure out the libraw-bin and libraw-dev question… I think the answer is no. A file search on those two terms came up empty. How might I fix that?

I’m confused by the 5.10/5.12 problem, too. That’s why I’m asking for help! :slight_smile:

The best way to fix this is to reclone the repo.

Use Synaptic to install them. Perhaps you need to install Synaptic first.

I think we’re back in business. Installed synaptic, installed libraw-dev. Followed the manual build process at RawPedia, and I’m up and running with 5.12. Now I just have to rebuild all my preferences and dynamic profiles and the like.

Thank you.

1 Like