Saturday, January 23, 2010

Install WINE on Slackware 64 bit

Yesterday I had a hard time installing WINE. Because the official release was 32 bit only and SlackBuilds.org only support a 32 bit building script, I ran wild and tried out a lot of ways to install the thing.

Solution: Follow these steps

  1. Set up your slackware64 to be a multilib system by following this guide
  2. Go to SlackBuilds.org and grab the script (also see the howto)
  3. Change the arch to be x86_64 then run the script as normal. BE PATIENT THIS TAKES A LONG TIME!
  4. Install the created package and you are done :)

What I didn’t know was, WINE was meant to be 32 bit only, just like GRUB, so I would have to install it as a 32 bit application. Fortunately, I have already set up a multilib system (i.e enabling my 64 bit slackware to run 32 bit applications. According to alien, I can go ahead and install WINE using the slackbuild script just fine, but it seemed to fail because the building script took forever. After letting the thing build for 15 minutes I Ctrl+C to cancel, trying different configurations and build again with different kinds of errors.

There is one thing I want to make clear: the settings was correct, and the building of WINE itself takes a long time. There is nothing wrong with that (I didn’t know, so I assumed it to be a failure, when it is not). What you have to do is, to let the script run for around 30 minutes (or even more), unless it stops itself because of an error.

[Via http://phunehehe.wordpress.com]

No comments:

Post a Comment