AW: Trouble with new lo-build
Ilmari Lauhakangas
ilmari.lauhakangas at libreoffice.org
Thu Jul 3 12:32:24 UTC 2025
On 7/3/25 14:58, Christian Lohmaier wrote:
> Hi *,
>
> On Thu, Jul 3, 2025 at 1:13 PM Ilmari Lauhakangas
> <ilmari.lauhakangas at 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)
If Jürgen can test the winget steps, adding those into the WSL article
would be even better! Thanks for sketching the steps.
Ilmari
More information about the LibreOffice
mailing list