Saturday, 26 April 2008

Compiling Wine 0.9.60 on Kernel 2.6.25-1

Fedora 9 rawhide repositories only contain wine 0.9.58 and there seem to be some kind of a bug in the packages since it crashes everytime with a page fault. So I decided to compile wine 0.9.60 from the source. However, unlike last time, I had to fix several lines in the code to make wine compile without errors. The procedure is as follows:

1. First, run configure.

2. Then edit the sources as follows:

Replace lines 43-51 with
#include <linux/if.h>
#include <linux/route.h>
#include <linux/if_arp.h>

Delete line 21 that looks something like
menu.c /

3. That's it. Now you can build wine

make depend && make
make install

Hope that helps. I will try to put up a patch file up soon.

Edit: If Photoshop CS2 fails to start and throws an error that sounds like 'Unrecoverable software/hardware error', install corefonts from If building the RPM is too much work for you, Mauriat Miranda's excellent Fedora 8 guide has a link to the rpm.

1 comment:

Zine said...

Thnx man, I Was looking to install Photoshop as your previous post, but unable to install it on fedora 9 preview. Think now I can do it now. Thanx again for the excellent post. Keep up the good work. We are Looking Forward for the oncoming posts.