You are not logged in.

#1 2010-07-27 09:48:29

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

How do I compile Wine for my 64bit machine?

Hello,
How would I go about doing that?

Offline

#2 2010-07-27 09:52:03

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: How do I compile Wine for my 64bit machine?

http://wiki.archlinux.org/index.php/Wine#x86_64

EDIT: If you want to use one of the AUR packages: http://wiki.archlinux.org/index.php/AUR

Last edited by JackH79 (2010-07-27 09:53:59)

Offline

#3 2010-07-27 10:05:06

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

Thanks, but I would like to compile it.
(There's bug fixed I'd like in my version of wine)

Offline

#4 2010-07-27 10:09:47

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: How do I compile Wine for my 64bit machine?

My second link points you directly to where you should start reading, if you want to compile yourself.

Unless of course you want to compile from direct source (why?), in which case you'd have to consult the program's (in this case wine's) documentation.

However, I'd highly recommend to stick with AUR.

Offline

#5 2010-07-27 10:21:54

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

I'm able to get wine to compile in a 32bit chroot, I can't get makepkg working. (There also isn't any wine-git available that works)

Offline

#6 2010-07-27 10:36:25

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: How do I compile Wine for my 64bit machine?

Could you maybe give a bit more detail on the error messages you receive?

Have you seen these: http://aur.archlinux.org/packages.php?ID=24855 http://aur.archlinux.org/packages.php?ID=36298

But as mentioned in the wiki, wine64 si still buggy.

Offline

#7 2010-07-27 10:42:11

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

Oh.. I should have specified, I would like to compile wine (32bit version without support for 64bit applications) under (if necessary) a 32bit chroot on my 64bit machine, final binary being equivalent to bin32-wine.

Offline

#8 2010-07-27 12:12:55

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

What I've been trying to do is compile wine under a 32bit chroot in my 64bit machine, then run makepkg out of the chroot.
Here's is the output of makepkg http://pastebin.com/UdNLjtCx
and the contents of my PKGBUILD http://pastebin.com/x7w8Fibf
I compiled wine with ./configure then make.
Thanks

Offline

#9 2010-07-27 15:19:20

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How do I compile Wine for my 64bit machine?

You need to turn a few extra knobs to be able to compile in a chroot

http://wiki.archlinux.org/index.php/Ins … e-shooting

Offline

#10 2010-07-27 17:34:11

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

Ok I tried compiling with "CFLAGS="-O2" ./configure --host="i686-pc-linux" --with-x && make clean && make -j5" but it failed. (Also tried with only the configure & "--with-x argument" yet it still failed)
Here's the last few lines of the output: http://pastebin.com/iwrCRDft

Offline

#11 2010-07-27 17:52:57

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How do I compile Wine for my 64bit machine?

Your assembler for i686 isn't found. Do you have the whole base-devel group installed for the chroot?

Offline

#12 2010-07-27 18:16:45

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

I had them installed before and just ran pacman -S base-devel to reinstall, here's the output of pacman -Qg base-devel:

base-devel autoconf
base-devel automake
base-devel bin86
base-devel bison
base-devel ed
base-devel fakeroot
base-devel flex
base-devel gcc
base-devel libtool
base-devel m4
base-devel make
base-devel patch
base-devel pkg-config

I am still not able to complete the build. If it matters I also chrooted in with linux32 as a wrapper(If that's the correct term).

Last edited by Jordanlw (2010-07-27 18:51:06)

Offline

#13 2010-07-27 19:45:08

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: How do I compile Wine for my 64bit machine?

Hmmm, looking more closely, I think your host is wrong (and the wiki too?). It's supposed to be: i686-pc-linux-gnu

Last edited by falconindy (2010-07-27 19:46:43)

Offline

#14 2010-07-27 20:25:25

tavianator
Member
From: Waterloo, ON, Canada
Registered: 2007-08-21
Posts: 859
Website

Re: How do I compile Wine for my 64bit machine?

Easy method:

$ linux32 schroot -p
$ makepkg

Offline

#15 2010-07-28 10:14:58

Jordanlw
Member
Registered: 2010-07-27
Posts: 44

Re: How do I compile Wine for my 64bit machine?

It still wont complete even with i686-pc-linux-gnu as the host.

Offline

Board footer

Powered by FluxBB