Hello! Linux newbie here
I was building GIMP, based on this https://wiki.gimp.org/wiki/Hacking:Building
It says to use Meson to build GIMP's dependencies, and eventually GIMP itself.
So, I download latest gegl (4.34)
and do this pretty much:
cd gegl
meson ~/gegl/_build
--prefix=${GIMP_PREFIX}
--buildtype=release
-Db_lto=true
cd _build
ninja
ninja install
I type pkg-config gegl-0.4 --modversion
and it outputs 0.4.34
Then I go to build GIMP
cd gimp
meson ~/gimp/_build
--prefix=${GIMP_PREFIX}
--buildtype=release
-Db_lto=true
And I get this (attached image)
I can only assume it doesn't find the pkg, anyway here is the path it tries to find:
GIMP_PREFIX=${HOME}/gimp_prefix
# Used to detect the build dependencies
export PKG_CONFIG_PATH="${GIMP_PREFIX}/share/pkgconfig:${GIMP_PREFIX}/lib/pkgconfig${PKG_CONFIG_PATH:+:$PKG_CONFIG_PATH}"
# Assuming a 64-bit build. Remove otherwise.
export PKG_CONFIG_PATH="${GIMP_PREFIX}/lib64/pkgconfig:$PKG_CONFIG_PATH"
Again, I am a newbie, I am pretty much copy-pasting things, I don't know how path variables work, any help is appreciated <3