You are not logged in.

#1 2012-05-13 17:57:07

Citric
Member
Registered: 2012-05-02
Posts: 10

[SOLVED] Compile 32bit Wine in x64 without chroot?

I was wondering if it's possible. Due to winetricks not working with x64 wine, I wanted to do a compile of 32-bit Wine without chroot. I need to apply patches, otherwise I'd just use pacman. I've looked but pretty much all topics I've found that are related are before Multilib was added to Arch and all require chroot. Thanks for any help.

-- Edit --
Solved it by just getting multilib gcc, and downloading all the missing dependencies that caused warnings after ./configure with x32 wine

Last edited by Citric (2012-05-14 02:57:46)

Offline

#2 2012-05-13 18:10:03

tommis
Member
Registered: 2011-09-13
Posts: 7

Re: [SOLVED] Compile 32bit Wine in x64 without chroot?

You don't recompile new wine you use 32 bit wineprefix.

env WINEARCH=win32 WINEPREFIX=~/where/you/want/your/wineprefix/to/be winecfg

See: https://wiki.archlinux.org/index.php/Wine

Last edited by tommis (2012-05-13 18:11:05)

Offline

#3 2012-05-13 18:17:54

Citric
Member
Registered: 2012-05-02
Posts: 10

Re: [SOLVED] Compile 32bit Wine in x64 without chroot?

tommis wrote:

You don't recompile new wine you use 32 bit wineprefix.

env WINEARCH=win32 WINEPREFIX=~/where/you/want/your/wineprefix/to/be winecfg

See: https://wiki.archlinux.org/index.php/Wine

This is for precompiled from pacman. I have to do a fresh compile to be able to apply patches that will fixes games/software for myself, which usually requires a chroot to compile it in 32-bit, therefore pacman isn't an option.

Offline

#4 2012-05-14 17:44:37

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: [SOLVED] Compile 32bit Wine in x64 without chroot?

Citric wrote:
tommis wrote:

You don't recompile new wine you use 32 bit wineprefix.

env WINEARCH=win32 WINEPREFIX=~/where/you/want/your/wineprefix/to/be winecfg

See: https://wiki.archlinux.org/index.php/Wine

This is for precompiled from pacman. I have to do a fresh compile to be able to apply patches that will fixes games/software for myself, which usually requires a chroot to compile it in 32-bit, therefore pacman isn't an option.

it doesn't require a 32-bit chroot. that is only 1 of 2 options;

https://wiki.archlinux.org/index.php/Ar … _Arch64.3F

You can use a chroot if you want to, or have good reason to... but myself -> i run a multilib system and i compile wine on every update (i just compiled 1.5.4 yesterday). I only use 32bit apps in wine, as well via my 32bit prefix.

If you decide to go the 'multilib' route, you could use package management in arch to compile/install wine ... there are a couple of patched versions of wine in the AUR, that you could use as a template. just download the tarball, extract it and modify it to use your patches / suit your needs, add your patches to the directory, fix checksums, etc and voila smile

patched versions of wine in AUR;

https://aur.archlinux.org/packages.php?ID=40169
https://aur.archlinux.org/packages.php?ID=52143

there is one or two others, but they are very similar. either could work as a good template.

...then anytime you want to update wine, you just cd into the pkgbuild's directory and makepkg -si (you may have to edit the pkgver)... (you can also automate all of this too, i just don't have a link(s) to the archwiki on this, off hand.

anyway, it basically comes down to either having a 32bit chroot, or running a multlib system.

cheerz

Last edited by triplesquarednine (2012-05-14 17:46:58)

Offline

Board footer

Powered by FluxBB