Page 1 of 1

Installation on Lion

Posted: 2012-03-19T00:39:15-07:00
by AusS2000
I thought I'd document the procedure I went through to install ImageMagick on Lion (I'll did a separate write up for Snow Leopard). I'll leave out all the dead ends I went down to save you the trouble. And I'll try to be concise but not skip any of the steps that are often overlooked by power users and yet baffling to newbys.

I use ImageMagick as an image resizing utility for web applications written in Terascript (previously Witango, before that Tango, and prior to that I think we used a hammer and chisel). So I've never had to install 'delegates'. In fact I don't actually know what they are. I suspect they are libraries to handle different image types and fonts etc. The MacPorts method installs everything I need.

First you need to install Xcode. Xcode is a toolkit provided by Apple for developers. As Lion is not supplied on disk you'll have to download Xcode. It is now free and accessible through the App Store. Fire up the App Store application and enter 'Xcode' in the search field. Select 'Xcode: Developer Tools'. App Store will place it in your Applications folder.

/Applications/Xcode

Launch Xcode and go to the menu item Xcode:Preferences and select Downloads. You'll see a list of optional Components. Click 'Install' next to 'Command Line Tools'. You'll need a developer license but converting your Apple ID to a developer account is just a matter of jumping through a few hoops.

Then download MacPorts for Lion:
https://distfiles.macports.org/MacPorts ... 7-Lion.dmg
Run the installer.

Then open the terminal. It's in Applications:Utilities:Terminal. Type:

sudo port install ImageMagick

It will ask you for your password for administrator privileges. Type it, press Enter and then go and make a cup of coffee (or perhaps dinner, the process is quite lengthy but automated).

That's pretty much it. Enjoy.