Hi *, On Thu, Jul 3, 2025 at 1:13 PM Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> wrote: > On 7/3/25 13:08, Juergen Funk wrote: > > When i try to install with wsl --install > > i get the error (sorry is in german) > > We have instructions for WSL here, but they haven't been updated after > the Meson and pkgconf additions: > https://wiki.documentfoundation.org/Development/BuildingOnWSLWindows > > If you get it to work, it would be great, if you updated the article :)
Note that there are the handy dandy winget configuration files in core-repo/.config – that method is ultimately what replaces lode in wsl-as-helper style builds. winget configure -f configuration.winget as admin to install visual studio and necessary components (you can also manually pass the 2022.vsconfig file to the Visual Studio installer/load it in the installer UI) winget configure -f admin_java_and_deps.winget as admin to fetch external deps and install java and make sure that wsl is installed (feel free to edit the steps, and for example remove the wsl install/check step since the file assumes defaults/wsl2 or if you don't want to install java that way) winget configure -f user_steps.winget as the user you want to build as, that'll set up the build env, i.e. extracts the downloaded deps and similar, again feel free to edit or to just have a look at what is done and how. You can for example also use the cloud-init trick to install the distro with the desired packages and user account and also creates a sample autogen.input pointing to the deps (you should remove the MESON and PKG_CONFIG lines however to use the builtin meson and let configure find pkgconf, will submit a patch to adjust for current state) ciao Christian