Building Wow64 setup
-
- Level 1
- Posts: 5
- Joined: Wed Jun 27, 2012 5:34 pm
Building Wow64 setup
I extracted the newest wine source(1.5.7) twice. one is /home/josh/wine-1.5.7-32 and the other is /home/josh/wine-1.5.7-64 Following the instructions on wine wiki for creating a wow64 setup, I compiled the 64bit one first with ./configure --enable-win64 && make -j2 and it had no problems at all. However, when i went to the 32bit directory, i did ./configure --with-wine64=../wine-1.5.7-64 && make -j2 but the make errored out here:
"
make[1]: Leaving directory `/home/josh/wine-1.5.7-32/libs/wine'
rm -f tools && ln -s ../wine-1.5.7-64/tools tools
rm: cannot remove `tools': Is a directory
make: *** [tools] Error 1
"
How do I fix this?
"
make[1]: Leaving directory `/home/josh/wine-1.5.7-32/libs/wine'
rm -f tools && ln -s ../wine-1.5.7-64/tools tools
rm: cannot remove `tools': Is a directory
make: *** [tools] Error 1
"
How do I fix this?
-
- Level 1
- Posts: 5
- Joined: Wed Jun 27, 2012 5:34 pm
Follow ALL the instructions in the wiki for building a shared WoW64 setup. Specifically, you need to do an out-of-tree build from the same source tree. http://wiki.winehq.org/Wine64
The Wiki is out of date:
To compile 32-bit on a 64-bit Precise system you need to use a chroot.
You then need the chroot to see your 64-bit compilation, probably by using the bind option in mount.
The build fails badly.
I haven't looked at other ways around this yet as I cannot see any.
64-bit on 64-bit = SUCCESS
32-bit on 32-bit = SUCCESS
32-bit on 64-bit = FAIL
WoW64 on 32-bit = FAIL
WoW64 on 64-bit = FAIL
This is with Ubuntu Precise only. I haven't tried Debian, for example.
What distros are people using to compile the WoW setup? A chroot with this distro is probably the solution. Maybe Debian works?
To compile 32-bit on a 64-bit Precise system you need to use a chroot.
You then need the chroot to see your 64-bit compilation, probably by using the bind option in mount.
The build fails badly.
I haven't looked at other ways around this yet as I cannot see any.
64-bit on 64-bit = SUCCESS
32-bit on 32-bit = SUCCESS
32-bit on 64-bit = FAIL
WoW64 on 32-bit = FAIL
WoW64 on 64-bit = FAIL
This is with Ubuntu Precise only. I haven't tried Debian, for example.
What distros are people using to compile the WoW setup? A chroot with this distro is probably the solution. Maybe Debian works?
The instructions in the wiki work fine for any distro with proper multiarch support, such as openSUSE and Fedora. The problems with compiling 32 bit Wine on 64 bit Ubuntu 12.04 are due to its poor implementation of multiarch. https://bugs.launchpad.net/ubuntu/+sour ... bug/944321KenSharp wrote: What distros are people using to compile the WoW setup? A chroot with this distro is probably the solution. Maybe Debian works?
You might want to read the sticky at the top of the forum about the many woes of Ubuntu 12.04.
Also, the wiki page for packagers has alternative build instructions for distros where 32 bit Wine cannot be built on a 64 bit system. http://wiki.winehq.org/Wine64ForPackagers
-
- Level 3
- Posts: 86
- Joined: Fri Oct 07, 2011 6:25 am
use a virtual machine?
Hello,
I know it's a big hassle to do, but I'd suggest creating a virtual machine using ubuntu 11.10. It's what I've been doing for awhile, and it's certainly easier than using a chroot.
I'm using virtual box and ubuntu 11.10 64 bit to build wine, and it works pretty well.
I know it's a big hassle to do, but I'd suggest creating a virtual machine using ubuntu 11.10. It's what I've been doing for awhile, and it's certainly easier than using a chroot.
I'm using virtual box and ubuntu 11.10 64 bit to build wine, and it works pretty well.
http://wiki.winehq.org/WineOn64bit has updated instructions for how to
build mixed 32/64 wine on Ubuntu 12.04, I think.
build mixed 32/64 wine on Ubuntu 12.04, I think.
-
- Level 1
- Posts: 5
- Joined: Wed Jun 27, 2012 5:34 pm
-
- Level 1
- Posts: 5
- Joined: Wed Jun 27, 2012 5:34 pm
NVM i derped and forgot to compile the win64 first, im half asleep sorryAmathorian wrote:Now I get this error when running the ../wine-1.5.8/configure --with-wine64=../wine64 inside the wine32 folder
checking for the directory containing the Wine tools... configure: error: could not find Wine tools in ../wine64
Re: Building Wow64 setup
Well, this is how I did it: http://kennystechtalk.blogspot.com/2012 ... buntu.html
There may be better ways, but this worked for me.
There may be better ways, but this worked for me.