error: meson does not find libxisf

kubuntu 22.04.3
Hi everyone
The autotools method is working fine.

Command:
meson setup --prefix /usr/local --buildtype release _build -Denable-libcurl=yes

The meson setup fails at:

Run-time dependency OpenMP found: YES 4.5
Message: FFTW linked against OpenMP
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency exiv2 found: YES 0.27.5
Run-time dependency libraw found: YES 0.20.2
Run-time dependency libtiff-4 found: YES 4.3.0
Run-time dependency libjpeg found: YES 2.1.2
Run-time dependency libpng found: YES 1.6.37
Run-time dependency libheif found: YES 1.12.0
Run-time dependency libxisf found: NO (tried pkgconfig and cmake)

meson.build:389:2: ERROR: Dependency “libxisf” not found, tried pkgconfig and cmake

I have those installed:

libxisf-dev is already the newest version (0.2.9~202308141246~ubuntu22.04.1).
and

libxisf is already the newest version (0.2.9~202308141246~ubuntu22.04.1).

I have also tries with:
meson setup --prefix /usr/local --buildtype release _build -Denable-libcurl=yes -Denable-libXISF=yes
which gives:
meson.build:28:0: ERROR: Unknown options: “enable-libXISF”

Question: what am I missing?
TIA, Steve

Hello.

If you don’t want libxisf. Just tell to meson to not compile it.

If you want, try to remove the build directory to redo a meson setup.

In the event anyone else sees this or needs it, there is a quick answer. You need to install libpugixml-dev and liblz4-dev on Ubuntu. These are dependencies that are not installed by default. Meson will tell you this in it’s output, but not in a very obvious way.

I’ve updated the doc