Wine64 compiling & use

Questions about Wine on Linux
Locked
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Wine64 compiling & use

Post by J V »

GW2 has a long standing bug (in gw2, not wine) where it crashes on 32bit systems when it uses over 4g ram, so I want to redo it on 64bit wine.

I tried the http://wiki.winehq.org/Wine64 instructions to compile wine64 but I must have done it wrong since I get:

Code: Select all

err:winecfg:open_mountmgr failed to open mount manager err 2
Also, do I have to prefix everything with wine64 now? (IE: wine64 winecfg?)

How do I even use wine64?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine64 compiling & use

Post by dimesio »

Pure 64 bit Wine is useless. You need to follow the section of the instructions on the Wine64 wiki page entitled
"Building a shared WoW64 setup (most likely what you want)."
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Wine64 compiling & use

Post by J V »

How exactly do you use a WoW64 setup? Previously I'd just prefix the bin folder to my $PATH, but the WoW64 instructions result in 2 separate installations and make installing them to the same prefix makes it think it's a 32bit wine.

Am I supposed to prefix both to PATH? (IE: PATH="wine64/bin:wine32/bin:$PATH"?)
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine64 compiling & use

Post by dimesio »

J V wrote: make installing them to the same prefix makes it think it's a 32bit wine.
It shouldn't. What makes you think it does? When you create a wineprefix without specifying WINEARCH, is it 32 or 64 bit (should be 64 bit)?

Regarding GW2, is this the bug you're talking about? http://bugs.winehq.org/show_bug.cgi?id=34342

According to that bug report, people are experiencing the problem in 64 bit Wine, too.
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Re: Wine64 compiling & use

Post by J V »

Code: Select all

wine: '/mnt/data/Wine/Prefixes/GW2-64' is a 64-bit installation, it cannot be used with a 32-bit wineserver.
If the bug happens in 64bit wine too it's not much use, but still - I'd like to know how to compile and use it for whenever it does end up working.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Wine64 compiling & use

Post by dimesio »

Unfortunately, I can't be of much help; all I know is what's in the wiki. But there are a couple of related pages you may not have looked at that might give you a clue:
http://wiki.winehq.org/BuildingBiarchWineOnUbuntu
http://wiki.winehq.org/Wine64ForPackagers
Locked