The following is the quickest and the easiest way to do it from a normal user perspective.
From a developer point of view you can use version control tools like git to remove or add certain tasks from your tree.
If you want this more complex approach then it's better to follow the tutorial from the wine page on developer sections.
More details here:
http://wiki.winehq.org/GitWine
Now lets return to the user perspective again:
Steps to compile 32bit wine from x64 LMDE:
It is recommended that you finish all the steps on
1- installing from the default repos (wine 1.4.1 at the time of writing) before beginning with the compilation of a newer version.
* 1: Browse
http://sourceforge.net/projects/wine/files/Source/ and download any version of wine you want. Then extract it anywhere you want on your system.
Let's call this location <WINE> directory from now.
* 2: Go to the <WINE> directory and type
in your terminal and wait until it finishes.
* 3: check the results of the exection
Example:
- configure: libsane 32-bit development files not found, scanners won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: WARNING: libjpeg 32-bit development files not found, JPEG won't be supported.
configure: Finished. Do 'make' to compile Wine.
Depending on what you have previously installed on the system you may be having more or less of these libs missing.
* 4. Fix warnings or add libs required for your usage.
I will fix the WARNING on the libjpeg 32-bit as an example:
Code: Select all
apt-cache search 'libjpeg' | grep dev
- libjpeg62-dev - Development files for the IJG JPEG library (version 6.2)
libjpeg8-dev - Development files for the IJG JPEG library
get i386 version:
Code: Select all
sudo apt-get install libjpeg8-dev:i386
- Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gcj-4.6-base gcj-4.6-jre-lib icoutils libavahi-client-dev libavahi-common-dev libgcj12
libgcrypt11-dev libgdata1.8-cil libgettextpo0:i386 libglew1.6 libgmp10:i386 libgomp1:i386
libgpg-error-dev libieee1284-3-dev libitm1:i386 liblog4j1.2-java-gcj libmpc2:i386 libmpfr4:i386
libosmesa6 libpoppler-glib6 libpoppler13 libquadmath0:i386 librpmio2 libsane-extras-dev
libsdl-ttf2.0-0 libsmpeg0 libunistring0:i386 libxalan2-java-gcj linux-headers-3.0.0-1-common
linux-kbuild-3.0.0 wine
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
libjpeg8-dev:i386
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 232 kB of archives.
After this operation, 493 kB of additional disk space will be used.
* 5 go to step 2 and repeat the process if you need anything else.
I mentioned in my last post the libs needed for direct 3d, most of the people should fix these also:
Code: Select all
sudo apt-get install libzip-dev:i386
sudo apt-get install libglu1-mesa-dev:i386
sudo apt-get install libosmesa6-dev:i386
sudo apt-get install libgl1-mesa-dev:i386
In my example the dependencies were already solved. You may also take a look at the quick list from winehq page:
http://wiki.winehq.org/Recommended_Pack ... 64c0e7536f
6. check that the warning on libjpeg are no longer present:
- configure: libsane 32-bit development files not found, scanners won't be supported.
configure: gstreamer-0.10 base plugins 32-bit development files not found, gstreamer support disabled
configure: OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
configure: libcups 32-bit development files not found, CUPS won't be supported.
configure: libgsm 32-bit development files not found, gsm 06.10 codec won't be supported.
configure: Finished. Do 'make' to compile Wine.
* 7 run make or make -jx where x is the number of threads.
ex:
for quad core.
*8 run your application
Code: Select all
<WINE>/wine /PATH_TO_APP_NAME/APP.EXE