How to install Wine on 64bit architecture?

Questions about Wine on Linux
Locked
wine.user
Newbie
Newbie
Posts: 1
Joined: Fri Jan 03, 2014 4:46 pm

How to install Wine on 64bit architecture?

Post by wine.user »

I have Fedora 18 (Linux 3.6.10-4.fc18.x86_64)

All packages in the system are built for x86_64, but Wine's package requires some i686 dependencies:

Code: Select all

mesa-libgbm-9.0.1-1.fc18.i686 != mesa-libgbm-9.0.1-5.fc18.x86_64
mesa-libEGL-9.0.1-1.fc18.i686 != mesa-libEGL-9.0.1-5.fc18.x86_64
cairo-1.12.8-2.fc18.i686 != cairo-1.12.14-1.fc18.x86_64
openssl-libs-1.0.1c-7.fc18.i686 != 1:openssl-libs-1.0.1e-4.fc18.x86_64
mesa-libglapi-9.0.1-1.fc18.i686 != mesa-libglapi-9.2-0.12.20130610.fc18.x86_64
mesa-libGL-9.0.1-1.fc18.i686 != mesa-libGL-9.2-0.12.20130610.fc18.x86_64
gnutls-2.12.21-1.fc18.i686 != gnutls-2.12.22-1.fc18.x86_64
If I remove x86_64 versions and install i686 versions, then many packages in the system become unavailable. For example, kde4 becomes broken, it doesn't load without corresponding package installed. (But Wine works)


Meanwhile, when I compile Wine from the repository, ./configure says:

Code: Select all

checking whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.
I tried "gcc -m32" for a simple program and it doesn't work, but "gcc -m64" works.
I have glibc-devel.x86_64 installed, and, when I try to install glibc-devel.i686, yum says that .x86_64 is newer than .i686


So the question is: how to install Wine without downgrading the system?
Locked