Hi Regina, *, On Mon, Apr 28, 2025 at 8:02 PM Regina Henschel <rb.hensc...@t-online.de> wrote: > Ilmari Lauhakangas schrieb am 28.04.2025 um 15:35: > > On 4/28/25 16:32, Regina Henschel wrote: > [..] > > > If you use LODE, run `git pull` in LODE and then `./setup` > > I have now tried it with WSL. With that and autogen.input > […] > I get the warning: > * WARNING : please add PKG_CONFIG=/path/to/pkgconf-2.4.3.exe to > autogen.input or put it in PATH, a windows version of pkgconf is > required to build harfbuzz > > A file pkgconf-2.4.3.exe does not exist. > > So with the WSL build environment there is a problem with harfbuzz too.
Well, not really a problem, just a matter of new dependencies, you can use the winget configuration to fetch the dependencies/use those as a template as to what to do: https://git.libreoffice.org/core/+/refs/heads/master/.config/admin_java_and_deps.winget downloads the deps (i.e. you'll find the URLs in there if you want to do it manually), and https://git.libreoffice.org/core/+/refs/heads/master/.config/user_steps.winget extracts stuff. So for pkgconf: It is available as a pre-built and you're expected to put it into your PATH, ~/bin for example in case of git-bash will do. If you don't put it into path, you need to add PKG_CONFIG=<path> to autogen.input to tell it where to find it, needs to be a path that wsl can resolve, so windows path or a unix-path as seen from wsl (e.g. /mnt/e/lo/pkgconf-2.4.3/build/pkgconf.exe or E:/lo/pkgconf-2.4.3/build/pkgconf.exe) – but it should be picked up from PATH if you call it pkgconf-2.4.3.exe. Meson is simply extracted, and for wsl-as-helper case there's no attempt to auto-detect the location, so for that you'll have to specify it in autogen.input with MESON=<path/to/meson.py> – again in a form that wsl can resolve properly, so either windows-path or path-as-used-within-wsl, e.g. E:/lo/meson/meson-1.7.2/meson.py The same pkgconf and meson is used for both cygwin and wsl-as-helper builds. (ninja is assumed to be part of Visual Studio installation, the cmake tools for windows which are installed by default if you pick c++ desktop development, but if you did a manual/minimal installation without implied/recommended packages you might need to add that manually) ciao Christian