Compiling 32bit wine problem with 32 bit package

Questions about Wine on Linux
Locked
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Compiling 32bit wine problem with 32 bit package

Post by Bladeforce »

Hi, I'm currently in the process of trying to sort a wine bug out but I'm having problems
Ive compiled the 64bit build but i am stuck on where to point the pkg_config_path for the 32 bit libraries. I have installed them with the command sudo apt build-dep wine.
Every time i invoke configure it complains it cant find the 32 bit libraries. 64 bit was fine
I can see all the .pc files in the location /usr/lib/i386-linux-gnu/pkgconfig/
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Compiling 32bit wine problem with 32 bit package

Post by jkfloris »

Building 32-bit Wine on a 64-bit Debian/Ubuntu/Mint system can be very difficult due to broken/missing multi-arch packages.
Fortunately Bob Wya made a script to build Wine from source on Debian/Ubuntu/Mint.
Bladeforce
Level 3
Level 3
Posts: 63
Joined: Fri Nov 09, 2012 8:01 am

Re: Compiling 32bit wine problem with 32 bit package

Post by Bladeforce »

Thanks but the idea is to compile it with a patch one of the devs has given me so automation in this regard won't help. I actually have the required 32 bit packages installed but compiling wine doesnt see them with the PKG_CONFIG_PATH=
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: Compiling 32bit wine problem with 32 bit package

Post by spoon0042 »

How are you (attempting to) set that and run configure? 'PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig ./configure' should work, I think. Or just export it. What distro are you running, btw?

also fyi that script handles patches, or is supposed to anyway I don't think I've done so myself.

also also if what you're testing is 32-bit you can probably just build 32-bit wine and skip the headaches.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Compiling 32bit wine problem with 32 bit package

Post by Bob Wya »

Bladeforce wrote: Sat Dec 19, 2020 8:20 am Thanks but the idea is to compile it with a patch one of the devs has given me so automation in this regard won't help.
...
@Bladeforce

Why not? My build script is designed to handle both multiple user patch directories (or individual patches) and can (optionally) apply the Wine Staging patchsets.

I can't guarantee it will always build the latest version of Wine / Wine Staging - but I'm happy to push updates to fix any issues you encounter... 8)

See: github: bobwya / build-multilib-wine.

Bob
Locked