(I normally attached a screenshot of the winecfg about tab, but not this time -- had I done that I would've realised something was wrong. )
It's fixed now. Wine 1.5.30 is OK again.
Update 22 May 2013: libwine.so.1 doesn't get included in the deb package, which causes severely reduced functionality. I've confirmed that Wine 1.5.28 built as shown in http://verahill.blogspot.com.au/2013/04/387-compiling-wine-1528-in-i386-chroot.html works fine though.
I'll update here when I've figured out why the compiled libraries don't get included.
It's similar to what is mentioned in these bug reports:
https://bugs.archlinux.org/task/35189
https://bugs.archlinux.org/task/35190
https://bugs.archlinux.org/task/35191
There's a fix here: http://bugs.winehq.org/attachment.cgi?id=44422
Original post:
While it'd be absolutely fair to accuse me of recycling posts, I have a reasonably good reason for doing so: posting build instructions for the latest version -- even if identical to instructions for earlier versions -- confirms that it 'works'. Also, it shows that the instructions are current.
I'm too much of a hoarder to go back and update old posts.
Anyway, here's a generic way of building wine which works for 1.5.30 (and 1.5.28 and everything in between). And yes, I've copy/pasted from my old 1.5.28 post...
See here for information about 3D acceleration using libGL/U: http://verahill.blogspot.com.au/2013/05/429-briefly-wine-libglliubglu-blender.html
Getting started:
If you set up a chroot to build 1.5.28 before, you don't need to set up a new chroot to build 1.5.30. In that case, skip the set-up step below and instead re-enter your existing chroot like this:
sudo mount -o bind /proc wine32/proc sudo cp /etc/resolv.conf wine32/etc/resolv.conf sudo chroot wine32 su sandbox
cd ~/tmp
Setting up the Chroot
sudo apt-get install debootstrap mkdir $HOME/tmp/architectures/wine32 -p cd $HOME/tmp/architectures sudo debootstrap --arch i386 wheezy $HOME/tmp/architectures/wine32 http://ftp.au.debian.org/debian/ sudo mount -o bind /proc wine32/proc sudo cp /etc/resolv.conf wine32/etc/resolv.conf sudo chroot wine32
You're now in the chroot:
apt-get update apt-get install locales sudo vim echo 'export LC_ALL="C"'>>/etc/bash.bashrc echo 'export LANG="C"'>>/etc/bash.bashrc echo '127.0.0.1 localhost beryllium' >> /etc/hosts source /etc/bash.bashrc adduser sandbox usermod -g sudo sandbox echo 'Defaults !tty_tickets' >> /etc/sudoers su sandbox cd ~/
Replace 'beryllium' with the name your host system (it's just to suppress error messages)
Building Wine
While still in the chroot, continue (the i386 is ok; don't worry about it -- you don't actually need it):
sudo apt-get install libx11-dev:i386 libfreetype6-dev:i386 libxcursor-dev:i386 libxi-dev:i386 libxxf86vm-dev:i386 libxrandr-dev:i386 libxinerama-dev:i386 libxcomposite-dev:i386 libglu-dev:i386 libosmesa-dev:i386 libglu-dev:i386 libosmesa-dev:i386 libdbus-1-dev:i386 libgnutls-dev:i386 libncurses-dev:i386 libsane-dev:i386 libv4l-dev:i386 libgphoto2-2-dev:i386 liblcms-dev:i386 libgstreamer-plugins-base0.10-dev:i386 libcapi20-dev:i386 libcups2-dev:i386 libfontconfig-dev:i386 libgsm1-dev:i386 libtiff-dev:i386 libpng-dev:i386 libjpeg-dev:i386 libmpg123-dev:i386 libopenal-dev:i386 libldap-dev:i386 libxrender-dev:i386 libxml2-dev:i386 libxslt-dev:i386 libhal-dev:i386 gettext:i386 prelink:i386 bzip2:i386 bison:i386 flex:i386 oss4-dev:i386 checkinstall:i386 ocl-icd-libopencl1:i386 opencl-headers:i386 libasound2-dev:i386 build-essential
mkdir ~/tmp cd ~/tmp wget http://prdownloads.sourceforge.net/wine/wine-1.5.30.tar.bz2 tar xvf wine-1.5.30.tar.bz2 cd wine-1.5.30/ wget http://bugs.winehq.org/attachment.cgi?id=44422 -O diff.patch patch -p1 < diff .patchCompilation took ca 13 minutes with three threads. Checkinstall takes a little while (In particular this step: 'Copying files to the temporary directory...').patching file configure patching file configure.ac patching file libs/wine/Makefile.in./configure time make -j3 sudo checkinstall --install=nocheckinstall 1.6.2, Copyright 2009 Felipe Eduardo Sanchez Diaz Duran This software is released under the GNU GPL. The package documentation directory ./doc-pak does not exist. Should I create a default set of package docs? [y]: Preparing package documentation...OK Please write a description for the package. End your description with an empty line or EOF. >> wine 1.5.30-2 >> ***************************************** **** Debian package creation selected *** ***************************************** This package will be built according to these values: 0 - Maintainer: [ root@beryllium ] 1 - Summary: [ wine 1.5.30-2 ] 2 - Name: [ wine ] 3 - Version: [ 1.5.30-2 ] 4 - Release: [ 1 ] 5 - License: [ GPL ] 6 - Group: [ checkinstall ] 7 - Architecture: [ i386 ] 8 - Source location: [ wine-1.5.30 ] 9 - Alternate source location: [ ] 10 - Requires: [ ] 11 - Provides: [ wine ] 12 - Conflicts: [ ] 13 - Replaces: [ ]
Installing Wine
Exit the chroot
sandbox@beryllium:~/tmp/wine-1.5.30$ exit exit root@beryllium:/# exit exit me@beryllium:~/tmp/architectures$
On your host system
Enable multiarch* and install ia32-libs, since you've built a proper 32 bit binary:
sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install ia32-libs
*At some point I think ia32-libs may be replaced by proper multiarch packages, but maybe not. So we're kind of doing both here.
Copy the .deb package and install it
sudo cp wine32/home/sandbox/tmp/wine-1.5.30/wine_1.5.30-1_i386.deb . sudo chown $USER wine_1.5.30-1_i386.deb sudo dpkg -i wine_1.5.30-1_i386.deb