Tech Tidbits - Ruby, Ruby On Rails, Merb, .Net, Javascript, jQuery, Ajax, CSS...and other random bits and pieces.

Tuesday, August 28, 2007

RMagick on Mac OSX

When installing RMagick, I found that X11 hadn't been installed. It's on the developer CD, which I didn't have handy, so here's what I did.

1) read the notes here:

http://developer.apple.com/opensource/tools/runningx11.html

2) Downloaded and installed Xcode and X11SDK from Apple Developers Center.

3) I still needed X11.app, so I downloaded and installed that from:

http://xanana.ucsc.edu/xtal/x11.html

4) Downloaded and installed rm_install from:


http://rubyforge.org/projects/rmagick/


This will install ImageMagick and RMagick with all dependencies.

I originally had downloaded ImageMagick binary and got this error when trying to install RMagick gem:

"Can't install RMagick. Can't find libMagick or one of the dependent libraries. Check the config.log file for more detailed information."

Info on the error here:


http://rubyforge.org/forum/message.php?msg_id=4066

No comments:

About Me

My photo
Developer (Ruby on Rails, iOS), musician/composer, Buddhist, HSP, Vegan, Aspie.

Labels