Can't compile Wine 1.7.54 on Ubuntu 15.10

Questions about Wine on Linux
Locked
RobinHood2015
Newbie
Newbie
Posts: 3
Joined: Wed Mar 11, 2015 12:44 am

Can't compile Wine 1.7.54 on Ubuntu 15.10

Post by RobinHood2015 »

I just attempted to install Wine 1.7.54 on Ubuntu 15.10 by running ./tools/wineinstall, and I managed to get past the configure stage, but the make stage errors out with this output:

Code: Select all

{standard input}: Assembler messages:
{standard input}:37: Error: operand type mismatch for `push'
{standard input}:39: Error: bad register expression
{standard input}:39: Error: register save offset not a multiple of 8
{standard input}:40: Error: operand type mismatch for `push'
{standard input}:42: Error: bad register expression
{standard input}:49: Error: operand type mismatch for `pop'
{standard input}:50: Error: bad register expression
{standard input}:52: Error: operand type mismatch for `pop'
{standard input}:53: Error: bad register expression
Makefile:193: recipe for target 'interlocked.o' failed
make[1]: *** [interlocked.o] Error 1
make[1]: Leaving directory '/home/brandon/Downloads/wine-1.7.54/libs/port'
Makefile:21734: recipe for target 'libs/port' failed
make: *** [libs/port] Error 2
 
Compilation failed, aborting install.
Here are the critical changes I made to the wineinstall script:

Code: Select all

CONFARGS="--host=i686-linux-gnu"                   # configure args, e.g. --prefix=/usr
CFLAGS=-m32
CXXFLAGS=-m32
LDFLAGS=-m32
What's the deal here?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't compile Wine 1.7.54 on Ubuntu 15.10

Post by dimesio »

http://wiki.winehq.org/BuildingWine

Follow the instructions for either Containers or Chroot.
RobinHood2015
Newbie
Newbie
Posts: 3
Joined: Wed Mar 11, 2015 12:44 am

Re: Can't compile Wine 1.7.54 on Ubuntu 15.10

Post by RobinHood2015 »

Okay, that seems to have worked. But now, how do I bring the resulting installation out of the container and into my root system?
User avatar
dimesio
Moderator
Moderator
Posts: 13373
Joined: Tue Mar 25, 2008 10:30 pm

Re: Can't compile Wine 1.7.54 on Ubuntu 15.10

Post by dimesio »

Code: Select all

sudo make install
from the build directory. If you built both 32 and 64 bit Wine for a WoW64 setup, install the 32 bit version first.
Locked