I'm attempting to build from source so as to incorporate the 1.6 patch from bug 18070, but I'm getting problems when using build-dep. I can't install something because it can't install something else and when I trace it through the list, I eventually get to a bunch of things that are the current version, leaving me scratching my head and wondering why there's a problem. This is copied from my terminal:
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get update
(--- snipped to save space ---)
Reading package lists... Done
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get build-dep wine1.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: mesa-common-dev (= 9.2.1-1ubuntu3) but it is not going to be installed
Depends: libdrm-dev (>= 2.4.45) but it is not going to be installed
E: Build-dependencies for wine1.6 could not be satisfied.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libgl1-mesa-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libgl1-mesa-dev : Depends: mesa-common-dev (= 9.2.1-1ubuntu3) but it is not going to be installed
Depends: libdrm-dev (>= 2.4.45) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install mesa-common-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
mesa-common-dev : Depends: libdrm-dev (>= 2.4.45) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libdrm-dev : Depends: libdrm2 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
Depends: libdrm-intel1 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
Depends: libdrm-radeon1 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
Depends: libdrm-nouveau2 (= 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt~raring) but 2.4.49+git20131202.c3d96897-0ubuntu0sarvatt is to be installed
E: Unable to correct problems, you have held broken packages.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdrm2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-intel1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdrm-intel1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-radeon1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdrm-radeon1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntusupahfly@OptiPlex-GX620:~$ sudo apt-get install libdrm-nouveau2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdrm-nouveau2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ubuntusupahfly@OptiPlex-GX620:~$ uname -a
Linux OptiPlex-GX620 3.13.6-031306-generic #201403070154 SMP Fri Mar 7 06:55:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
If you stuck then I would ask on LQ or the Ubuntu forums.
You should be warned that it's quite an advanced/fiddly process now that Canonical/Debian do not ship the build dependencies for 32-bit Wine on 64-bit versions of the OS (since Ubuntu 12.04). When it's easier to install different versions of Wine on 64-bit Gentoo - you know you've got a problem!! I certainly can't be bothered with using Debian as a testing base, for Wine patches, anymore.
If you stuck then I would ask on LQ or the Ubuntu forums.
You should be warned that it's quite an advanced/fiddly process now that Canonical/Debian do not ship the build dependencies for 32-bit Wine on 64-bit versions of the OS (since Ubuntu 12.04). When it's easier to install different versions of Wine on 64-bit Gentoo - you know you've got a problem!! I certainly can't be bothered with using Debian as a testing base, for Wine patches, anymore.
Bob
Following the directions for Multi-Arch has put me much further ahead than I ever was before, and for simplicity's sake, I've created the directory structure exactly as the guide has so all my pathnames match letter for letter, except now when I get to this part:
Still inside the container, do it again, this time pointing to the 64 bit build for data, and the 32 bit tools build for tools:
ubuntusupahfly@my32bitbox:~/wine32-tools$ ~/wine-git/configure --with-wine64=$HOME/wine64 --with-wine-tools=$HOME/wine32-tools/tools
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for cpp... cpp
checking for the directory containing the Wine tools... configure: error: could not find Wine tools in /home/ubuntusupahfly/wine32-tools/tools
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking whether make sets $(MAKE)... yes
{snip}
checking for the directory containing the Wine tools... configure: error: could not find Wine tools in /home/ubuntusupahfly/wine32-tools