Installing wine on Snow Leopard

Unfortunately wine isn’t quite ready for the 64 bit world of Snow Leopard, and the default port of wine in MacPorts won’t install at all (it says: please wait for Wine 1.2). Worse, installing wine-devel (the bleeding-edge alternative) crashes with obscure error messages.

Here’s the trick:

sudo port install wine-devel
sudo port upgrade --enforce-variants \
    expat fontconfig freetype jpeg libiconv \
    libxml2 libxslt ncurses openssl zlib \
    mesa +universal
sudo port install wine-devel

(Of course, this assumes you’ve reinstalled MacPorts. It’s just not a good idea to try to upgrade your installation from before Snow Leopard. Read this.)

Advertisements

One Response to “Installing wine on Snow Leopard”

  1. eric Says:

    when i fall your trick i come up with:

    Error: You cannot install wine-devel for the architecture(s) i386
    Error: because /opt/local/lib/libfontconfig.dylib only contains the architecture(s) x86_64.
    Error: Try reinstalling the port that provides /opt/local/lib/libfontconfig.dylib with the +universal variant.
    Error: Target org.macports.extract returned: incompatible architectures in dependencies
    Error: Status 1 encountered during processing.

    fallowed by

    sudo port -f install fontconfig +universal

    then i get this

    Error: You cannot install fontconfig for the architecture(s) x86_64 i386
    Error: because /opt/local/lib/libiconv.dylib only contains the architecture(s) x86_64.
    Error: Try reinstalling the port that provides /opt/local/lib/libiconv.dylib with the +universal variant.
    Error: Target org.macports.extract returned: incompatible architectures in dependencies
    Error: Status 1 encountered during processing.

    any tips?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: