I've been using the chroot method as suggested here http://wiki.winehq.org/WineOn64bit as I have a few different wine builds with different patches for use with Playonlinux.
The easiest way to do this imo is to run your ./configure and make scripts in the chroot and then copy the wine source folder your working on out of the /var/chroot dir into your home folder(anywhere you want really). Then run the make install from there and wine will install itself by default to the /usr/local dir. Since I am using multiple versions with Playonlinux I created a winebuild dir in /usr/local and I use the ./configure --prefix=/usr/local/winebuilds/mywinebuild command when building in the chroot to have the eventual installs reside there.
Does anybody have some experience doing this another way (other than CHROOT) on 13.04 x64? I'm having a lot of trouble as I'm trying to include a minor tweak (bad hack, really) that should FINALLY allow me to get Adobe CS4 installed in WINE which is otherwise impossible because of WINE Bug #18070.
I was able to compile 32-bit Wine on 64 bit LMDE without CHROOT by using instructions from a combination of sites. Unfortunately, I didn't note most of the URLs I used.
The first was from wiki.winehq.org/WineOn64bit. Since LMDE is built on Debian, not Ubuntu, I used the instructions for Debian Wheezy:
Code:sudo apt-get install ia32-libs libc6-dev-i386 lib32z1-dev ia32-libs-dev
ia32-libs-dev wasn't found in my repositories, so I dug a little deeper into the web, and found this:
When I ran ./configure, I got the 32 bit X development libraries error. I fixed that with this command:Code:sudo apt-get install libc6-dev-i386 lib32z1-dev
Unfortunately, this removed my compiler, and the entire build-essential package. I used the package manager to reinstall build-essential, and 32 bit Wine compiled fine from there.Code:sudo apt-get install xserver-xorg-dev:i386 libfreetype6-dev:i386
Edit: I ran into some problems on reboot. When I looked into my logs, it seems installing xserver-org-dev:i386 and its dependencies removed not only build-essential, but also dkms and my wireless drivers. I reinstalled those, and everything seems to be working fine now.
I hope this helps!
Last edited by Rogue_Mouser; August 20th, 2013 at 05:59 PM.
Watch that last step, it's a dooooosie!
hmmm: compilers, graphics card driver... I said yes anyways after copy and pasting these to reinstall later. Seemed to work (had to reinstall nvidia-310 again after a reboot for some reason). But I could not get both libfreetype6-dev and libfreetype6-dev:i386Code:sudo apt-get install xserver-xorg-dev:i386 libfreetype6-dev:i386 [...] The following packages will be REMOVED: build-essential dkms g++ g++-multilib gcc gcc-multilib libfreetype6-dev nvidia-310 virtualbox-guest-dkms [...]
No really good answer here as far as I can tell. After pouring sand from one bucket and back again a few times, I did get it to install, but complaining about all sorts of missing functionality. Oh well.