This is an area where Linux shine a bit, the default latest version of Wine does not work with Euler Math Toolbox, but a patch exist so I decided to dump into compiling it and patching it on my own. It was surprisingly straight forward, even if I had to compile the information from a dozen pages.
Here are the simple steps
- Download the .tar.bz2 source code from http://prdownloads.sourceforge.net/wine/wine-1.5.15.tar.bz2
- Go to the folder where you downloaded the file, open a terminal and run without quotes “tar -xvf wine-1.5.15.tar.bz2”
- Then enter the directory without quotes “cd wine-1.5.15”
- Get the tools and libraries needed to build wine again without quotes “sudo apt-get build-dep wine1.5”
- Build configuration for your machine again without quotes “./configure” yes there is no typo: “./configure”
- When it is done just type “make” without quotes again
- If everything went well just install with “sudo make install” without quotes
And that’s it. Now imagine you want to patch the code base. In between steps #4 and #5 run the following.
- Download the patch for example in my case it was http://bugs.winehq.org/attachment.cgi?id=36637 which I saved as winepatch.diff
- Make sure to copy your .diff file into the wine-1.5.15 folder
- In terminal run “patch -p1 < winepatch.diff” from the wine-1.5.15 folder