I’m a seasoned system administrator and have no fear of building
source packages on a variety of platforms, but RMagick has, until
recently, evaded all of my attempts to building it on my PowerBook.
Someone else just mentioned that they had trouble with RMagick on
OS X (Intel, don’t really know if my advice will help) so I
decided to post a HOWTO to the list.
I generally shy away from fink/darwinports and the like: Why let
them do what I can do myself, particularly when they put things
in weird places (why, or why, not simply /usr/local?).
That said, here’s my final procedure:
(I use gcc_select 3.3, though this may work with gcc_select 4.0)
Add /opt/local/bin to PATH.
sudo port install graphicsmagick
Do not use imagemagick as it caused bus errors when using
script/console on my system.
sudo gem install rmagick
do not attempt:
sudo port install rmagick
as it will attempt to compile an (outdated) Ruby for you.
That’s it, worked for me. Joy, happiness, rapture!
I should mention that I’ve compiled my own Ruby 1.8.4 in order to
be nice and current. I’m not certain that this will work with stock
Ruby, though after the well documented ‘fixruby’ for Mac OS X, my
stock Ruby performed fine for months before I upgraded to 1.8.4
– Tom M.