Mac OS and Macports
User Rating: / 0
PoorBest 

Some of you will probably know about what I’ll be writing, but sometimes I feel that noobs like me need the push to find the rabbit hole.
In other terms,  I came across the need of installing Darwine for MacOS, which is basically a container to run x86 Windows binaries under the MacOS.
To install Darwine I had 2 options, either find the dmg/pkg or compile the latest available source. At this time I came across Macports, for the ones familiar with Fedora/CentOS  Linux distributions it’s pretty similar to yum.
The Macports software will keep an repository of opensource software available through the www.macports.org website, and when called from the CLI will compile and install any dependencies, to get the software you want to install.

-    How to get Macports?
    Get the dmg from http://www.macports.org

-    First steps (Installing and updating):
    Install the dmg from the website
    Open a terminal and run the command
    #sudo port selfupdate && sudo port upgrade outdated
    This will take a long time, better to grab a coffee…:) 

 -    How does it work? Sample for Darwine
    Open a terminal and run the command
    #sudo port install wine
    Again… Grab a big coffee and watch an episode of Lost.There are too many depencies if running this for the first time, so the software will download, build and install. This process for wine took me about 30 minutes, and I'm talking about a Mac that has a Quad Core @ 3.5Ghz with 4 Gb Ram @ 1066Mhz with a WD Raptor 10K.

Notes:  I had some issues with port fetching the sources through ftp, it would simple hung while fetching any ftp connection. I didn’t debugged the issue, but found that I could CTRC-C and download manually the source it is trying to download, and copy it under /opt/local/var/macports/build/

 
Main Menu
Profile
MaTaPorKoZ 2009