Posts: 99
spaceman
Joined: 07 Feb 2013
#1
I have descended into hell...Google (or more correctly DuckDuckGo) is not my friend today (or the last two days)...

I have spent hours circling down into the dependency hell of guides purporting to enable me to install Wine 1.5.x on Debian (testing)...

I have failed. If anyone has had any success whatsoever with antiX M13 (I wish I could remember what I did with M12 to it working) I would bear your children to find out how. I even tried to, ick, install from the Ubuntu PPA (I know, was desperate though...) __{{emoticon}}__
Last edited by spaceman on 26 Mar 2014, 18:46, edited 2 times in total.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Did you try this?


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://dev.carbon-project.org/debian/wine-unstable/"
linktext was:"http://dev.carbon-project.org/debian/wine-unstable/"
====================================
Posts: 99
spaceman
Joined: 07 Feb 2013
#3
Yeah...but I definitely need (another) fresh install of M13...the last two are a little...messed with.

Be back, when I've tested with a flat install, currently getting:

Code: Select all

dpkg: dependency problems prevent configuration of libwine-gphoto2-unstable:
 libwine-gphoto2-unstable depends on ia32-libs (>= 20120102); however:
  Package ia32-libs is not installed.
...etc. Sweet. __{{emoticon}}__
Posts: 609
dark-D
Joined: 02 Jun 2008
#4
there is wine 1.5 in the liquorix repo have you tried that one? it is build on the ubuntu packages.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
You might need to enable the sid repo. Download all those debs from the site I linked to and do a dpkg -i *.deb in the directory and then apt-get -f install.

I can't test now as apt gr is extremely slow at the moment.
Posts: 2,238
dolphin_oracle
Joined: 16 Dec 2007
#6
i ran into a similar problem setting up the netflix-desktop package.

according to the info given for ia32-libs , you must have the i386 architecture enabled before you can install it. to enable that you must use

Code: Select all

# dpkg --add-architecture i386
#apt-get update
of course, that would only apply if you are on a 64 bit system. I do not believe antix enables the i386 arch on the 64bit version by default. It may not be your problem, but its worth a check.

d.o.
Posts: 99
spaceman
Joined: 07 Feb 2013
#7
OK, I have a nice new install of antiX M13 Core...but I enabled the Testing repo's so I could crowbar in the Nvidia drivers so this far from a flat install. I installed gdm3, Xorg and Xfce enable the Testing repos and installed the Nvidia drivers. Installed Leafpad, file-roller and Iceweasel, for some creature comforts and browse to this page to being. I'm going to update this post as I work through the Wine install to see if I can make sense of it all. __{{emoticon}}__

Step 1:
# dpkg --add-architecture i386
# apt-get update
- completed without error.

Step 2:
I don't know which way to go now, I'm tempted to install the source package...yeah I'ma try that first. __{{emoticon}}__

I'm going attempt to compile Wine from source: wine-1.5.22.tar.bz2 from SourceForge. I like a challenge (don't I)? /gulp
README:
You need to have the X11 development include files installed
(called xlib6g-dev in Debian and XFree86-devel in Red Hat).

Of course you also need"make" (most likely GNU make).

You also need flex version 2.5.33 or later and bison.
Fell at the first fence:
# apt-get install xlib6g-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package xlib6g-dev
Hmmm...I have libx11-6 installed..."This package provides a client interface to the X Window System, otherwise
known as 'Xlib'" - so maybe I'll try adding libx11-dev and see if I can break anything...
W: Waited for dpkg --assert-multi-arch but it wasn't there - dpkgGo (10: No child processes)
Hmmm...carries on blithely! __{{emoticon}}__
Make is installed, Flex:
apt-get install flex
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
m4
Suggested packages:
bison
The following NEW packages will be installed:
flex m4
Looking good so far...he laughs, clearly not confident.
Step 3:
# ./tools/wineinstall

Code: Select all

Running configure...

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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 whether gcc -m32 works... no
configure: error: Cannot build a 32-bit program, you need to install 32-bit development libraries.

Configure failed, aborting install.
You know I did think step 1 was a command short...honest.
# apt-get install ia32-libs
Now that did a lot of working, I'ma get coffee and check the tail. Well that completed without error, I'm becoming more confident that the compile will go OK, and Wine v1.5.22 would be very good news. No same result as above...OK searching with:

Step 4;
Aha, WineHQ,
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.winehq.org/WineOn64bit#head-5dd049f4c05d95a80467aa965870ef41b7fa1988"
linktext was:"WineOn64bit"
====================================
:
Wheezy

Warning: probably way out of date, attention is needed

apt-get the following packages:
ia32-libs (you need version 1.18 at least)
libc6-dev-i386
lib32z1-dev
ia32-libs-dev (it has the /usr/lib32/libpng.so, which seems to be required when installing TTF fonts)
optionally, a bunch of other libraries: libxcursor-dev libfontconfig1-dev libldap2-dev libxslt-dev libgl1-mesa-dev libglu1-xorg-dev libgnutls-dev libxi-dev lib32ncurses5-dev libxrandr-dev libxxf86vm-dev
Make symlinks (see below, in the Debian SID section, for the full list of symlinks):

cd /usr/lib32 ln -s libdbus-1.so.3 libdbus-1.so

This is required as of 2008/05/20 to prevent Wine warning that HAL cannot be found. See
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473586"
linktext was:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473586"
====================================


Download the wine source and assuming gcc and all needed development packages are installed (see Recommended Packages) you can compile wine using:

./configure
make
make install
ia32-libs-dev is obselete, but handily I'm informed it is replaced by lib32z1-dev & lib32z2-dev - so I install them both. I did
# apt-get install libxcursor-dev libfontconfig1-dev libldap2-dev libxslt-dev libgl1-mesa-dev libglu1-xorg-dev libgnutls-dev libxi-dev lib32ncurses5-dev libxrandr-dev libxxf86vm-dev
E: Package 'libglu1-xorg-dev' has no installation candidate
So, I simply removed it from the list and hoped for the best.
Same result as Step 3 above!

Step 4:
I'm still here! There's a link to
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://wiki.winehq.org/Recommended_Packages#head-a17f30175497e3c24b87cf7cee667664c0e7536f"
linktext was:"Recommended Packages"
====================================
on the WineOn64bit page, I navigate to the Debian section.
*bashes head on desk*
The simplest way to get the required packages is using apt-get build-dep wine
# apt-get build-dep wine
Same result as Step 3 above...

Step 5:
Despair sets in. So I downloaded all 16 binaries from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://dev.carbon-project.org/debian/wine-unstable/"
linktext was:"http://dev.carbon-project.org/debian/wine-unstable/"
====================================
and hit:
# sudo dpkg -i *.deb
This is the tail of the output:
Errors were encountered while processing:
libwine-alsa-unstable
libwine-oss-unstable
wine-unstable
So, as advised:
# sudo apt-get install -f
sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
oss-compat
The following packages will be REMOVED:
libwine-alsa-unstable
The following NEW packages will be installed:
oss-compat
0 upgraded, 1 newly installed, 1 to remove and 1 not upgraded.
3 not fully installed or removed.
Need to get 4,620 B of archives.
After this operation, 161 kB disk space will be freed.
Do you want to continue [Y/n]?
Get:1
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.gr.debian.org/debian/"
linktext was:"http://ftp.gr.debian.org/debian/"
====================================
wheezy/main oss-compat amd64 2 [4,620 B]
Fetched 4,620 B in 0s (17.5 kB/s)
Selecting previously unselected package oss-compat.
(Reading database ... 97584 files and directories currently installed.)
Unpacking oss-compat (from .../oss-compat_2_amd64.deb) ...
Setting up oss-compat (2) ...
Setting up libwine-oss-unstable (1.5.5-0.1) ...
(Reading database ... 97590 files and directories currently installed.)
Removing libwine-alsa-unstable ...
Setting up wine-unstable (1.5.5-0.1) ...
Er...
Last edited by spaceman on 20 Jun 2013, 17:39, edited 1 time in total.
Posts: 99
spaceman
Joined: 07 Feb 2013
#8
Yes it works. I had to reinstalled the Nvidia drivers, probably due the the ia32-libs or maybe because they didn't installed correctly first time. Either or...Wine 1.5.5 up and running on antiX M13 Core AMD64.

NO! It doesn't work...I use Wine for playing World of Warcraft. In the game, loading the world, the progress bar reaches approx. 90% and hangs. Tested my game install in antiX M12 x64 with Wine 1.5.22 (I don't know how I managed that tbh) and it works as expected. This is likely a bug in Wine 1.5.5 and an upgrade (any upgrade towards 1.5.22 or 1.6 rc2 would probably fix this).

Liquorix repos? So I uncommented
deb
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://liquorix.net/debian/"
linktext was:"http://liquorix.net/debian/"
====================================
sid main
in /etc/apt/sources.list.d/various.list
and was excited with being offered a wine1.5 with apt-get, however...
The following extra packages will be installed:
wine1.5 wine1.5-i386:i386
Suggested packages:
dosbox:any
Recommended packages:
cups-bsd fonts-droid ttf-mscorefonts-installer fonts-horai-umefont
fonts-unfonts-core ttf-wqy-microhei winbind xdg-utils
libasound2-plugins:i386 libcapi20-3:i386 libgif4:i386 libosmesa6:i386
The following NEW packages will be installed:
wine1.5 wine1.5-i386:i386
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
8 not fully installed or removed.
Need to get 0 B/25.4 MB of archives.
After this operation, 119 MB of additional disk space will be used.
(Reading database ... 100779 files and directories currently installed.)
Unpacking wine1.5-i386 (from .../wine1.5-i386_1.5.30-0ubuntu3.1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.5-i386_1.5.30-0ubuntu3.1_i386.deb (--unpack):
trying to overwrite '/usr/bin/wine', which is also in package wine-bin-unstable 1.5.5-0.1
Unpacking wine1.5 (from .../wine1.5_1.5.30-0ubuntu3.1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/wine1.5_1.5.30-0ubuntu3.1_amd64.deb (--unpack):
trying to overwrite '/usr/share/applications/wine.desktop', which is also in package wine-bin-unstable 1.5.5-0.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for mime-support ...
Processing triggers for desktop-file-utils ...
Errors were encountered while processing:
/var/cache/apt/archives/wine1.5-i386_1.5.30-0ubuntu3.1_i386.deb
/var/cache/apt/archives/wine1.5_1.5.30-0ubuntu3.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
So maybe if rip out Wine 1.5.5 I can get this to install...or maybe re-deploy antiX-13 AGAIN. __{{emoticon}}__
Posts: 99
spaceman
Joined: 07 Feb 2013
#9
With a little help from my old friend Synaptic I selected and removed every single wine-unstable and libwine package I would see after a search for wine. I enabled the liquorix repo and simple passed
# sudo apt-get install wine1.5
at the command line and now I have a working Wine 1.5.30 and World of Warcraft is working a treat.

Thank Anti! Thanks Dark-D.

I will of course download antiX M13 Core v.13.1 and test the bug fix, then I'll reverse engineer my Wine install process until I have only exactly what is required and no more. Then I'll be back and bore you with it. __{{emoticon}}__
Posts: 99
spaceman
Joined: 07 Feb 2013
#10
Wine is even worse. I enable the Liquorix repo and installed Wine 1.5 out of the box. Wine installs OK but WoW returns a DirectX error and fails to load.

Trying to build from source on an AMD64 platform seems to be nearly impossible. Despite succeeding in hammer home ia32-libs and successfully completing a sudo apt-get build-dep wine by adding a source repo, deb-src
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://liquorix.net/debian/"
linktext was:"http://liquorix.net/debian/"
====================================
, for wine1.5 ... wine fails to compile from source returning the same error as in Step 3. above.

I'm not having a great day...make that week it's Wednesday now. No sign of digging myself out yet, maybe the guys at WineHQ can help too. __{{emoticon}}__
Last edited by spaceman on 26 Jun 2013, 20:59, edited 1 time in total.
Posts: 99
spaceman
Joined: 07 Feb 2013
#11
On openSUSE 12.3 with the 310.44 Nvidia driver, /usr/lib/libGL.so.1 is a symlink to /usr/lib/libGL.so.1.2, and /usr/X11R6/lib/libGL.so.1 is a symlink to /usr/X11R6/lib/libGL.so.310.44. However, it won't be the exactly the same on a Debian-based system, because their implementation of multiarch is different. Those differences are the reason 64 bit Debian-based systems have problems with 32 bit apps that true multiarch distros like openSUSE and Fedora do not.
OK, there might actually be some merit in this remark...I reinstalled antiX Core M13.1 (yes again)....out-of-the-box I did:

Code: Select all

# dpkg --add-architecture i386
# apt-get update
# apt-get install ia32-libs
This failed installing ia32-libs-i386 - I wondered if this was upstream so I installed a flat copy of Debian 7 Wheezy (GAAAH! Gnome 3!) but Debian installed ia32-libs, no issues...

I hope this, er..."helps"... __{{emoticon}}__
Posts: 99
spaceman
Joined: 07 Feb 2013
#12
Guys...for the love of god...I still cannot build Wine from source (or install it again via the liquorix repos).

I did this:

Code: Select all

dpkg --add-architecture i386
apt-get update
I update my sources and changed, for example,

Code: Select all

deb http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
to

Code: Select all

deb [arch=amd64,i386] http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
deb [arch=amd64,i386] http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://ftp.uk.debian.org/debian/ wheezy main contrib non-free
I did this:

Code: Select all

apt-get update
apt-get dist-upgrade
I still get this:

Code: Select all

apt-get install ia32-libs
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:
 ia32-libs : Depends: ia32-libs-i386
E: Unable to correct problems, you have held broken packages.
and:

Code: Select all

~/Downloads/wine-1.6-rc3
$ ./configure
...checking for X... no
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
I hate my life and I want to die. __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#13
I think apt-get install ia32-libs is not needed. Just do

apt-get install skype (or whatever)
Posts: 99
spaceman
Joined: 07 Feb 2013
#14
Dude! I'm building Wine from source (or installing from the liquorix repos, either I'm not proud). Hence the error:

Code: Select all

~/Downloads/wine-1.6-rc3
$ ./configure
...checking for X... no
configure: error: X 32-bit development files not found. Wine will be built
without X support, which probably isn't what you want. You will need
to install 32-bit development packages of Xlib/Xfree86 at the very least.
Use the --without-x option if you really want this.
I'm short X 32-bit development files allegedly. Do you have them? I checked behind the sofa...can't find them anywhere.

I blame Blzzard for not publishing a native Linux Warcraft client...
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#15
Liquorix has updated their wine build. I managed to install it on my box running Sid repo and liquorix. It *might* work with Testing and/or Wheezy.