Easiest way to compile multiarch Wine inside a Flatpak?

Questions about Wine on Linux
Post Reply
whinehq
Newbie
Newbie
Posts: 2
Joined: Mon Nov 12, 2018 12:21 am

Easiest way to compile multiarch Wine inside a Flatpak?

Post by whinehq » Mon Nov 12, 2018 12:29 am

I have a working Flatpak where I compiled Wine from source. I can run 64 bits stuff but I need to install 32 bits libraries like vcrun2008 and that doesn't run with winetricks:

Code: Select all

wine: Bad EXE format for Y:\vcrun2008\vcredist_x86.exe.
------------------------------------------------------
Note: command wine vcredist_x86.exe returned status 193. Aborting.
After a long search I end it up at https://gitlab.com/freedesktop-sdk/free ... issues/348, IIUC Compat SDK/extensions are gone and the winepak project is waiting for that to conclude

So anyone got it working? I'm very new to Linux and it's making my head spin.

If nothing else works, is there a way I can download multiarch Wine already compiled and just shove it inside my Flatpak? Or that wouldn't work because of runtime dependencies?

Thanks and I know I'm making a mess :lol: but that's how I learn.

User avatar
dimesio
Moderator
Moderator
Posts: 12676
Joined: Tue Mar 25, 2008 10:30 pm

Re: Easiest way to compile multiarch Wine inside a Flatpak?

Post by dimesio » Mon Nov 12, 2018 7:05 am

It sounds like your Flatpack only contains pure 64 bit Wine. That will only run pure 64 bit apps, and is not a supported configuration. https://wiki.winehq.org/Building_Wine#Shared_WoW64

And yes, 32 bit Wine will not work on a 64 bit system without the 32 bit runtime dependencies.

Post Reply