Installing RMagick on OS X

Has anybody had luck installing RMagick on OS X? From my searches it
doesn’t seem like that many people are trying to do it. My attempt
looks something like this:

~/Desktop/RMagick-1.1.0$ ./configure
creating cache ./config.cache
checking for ruby… yes
checking for InitializeMagick in -lMagick… no
checking for InitializeMagick in -lGraphicsMagick… no
Can’t install RMagick. Either ImageMagick or GraphicsMagick must be
installed first.

ImageMagick is installed, but I can’t find an InitializeMagick
anywhere in my system. A difference in how ImageMagick installs on OS
X?

Thanks in advance,

Francis

Another fellow tried to install RMagick on OS X a few weeks ago and
reached the same impasse. After several days of trying things
back-and-forth we gave up in frustration. I think it’s going to take
somebody who understands OS X installs to figure out the problem and
tell me what I need to change in the RMagick installation procedure.
Sadly, I don’t have access to an OS X machine.

···

On 7 May 2003 08:54:53 -0700, sera@fhwang.net (Francis Hwang) wrote:

Has anybody had luck installing RMagick on OS X? From my searches it
doesn’t seem like that many people are trying to do it. My attempt
looks something like this:

~/Desktop/RMagick-1.1.0$ ./configure
creating cache ./config.cache
checking for ruby… yes
checking for InitializeMagick in -lMagick… no
checking for InitializeMagick in -lGraphicsMagick… no
Can’t install RMagick. Either ImageMagick or GraphicsMagick must be
installed first.

ImageMagick is installed, but I can’t find an InitializeMagick
anywhere in my system. A difference in how ImageMagick installs on OS
X?

Tim Hunter Tim.Hunter@sas.com wrote in message news:uufibvskk0rmqmpgdle0ql4iq0s5vmnjal@4ax.com

Another fellow tried to install RMagick on OS X a few weeks ago and
reached the same impasse. After several days of trying things
back-and-forth we gave up in frustration. I think it’s going to take
somebody who understands OS X installs to figure out the problem and
tell me what I need to change in the RMagick installation procedure.
Sadly, I don’t have access to an OS X machine.

OK, thanks. BTW, what’s InitializeMagick?

Francis

InitializeMagick is an entry point in libMagick.so (or libMagick.ar, if
you built a static library). What you’re seeing is the configure script
trying to determine in you’ve installed ImageMagick by creating a little
test program that references InitializeMagick, compiling it, and then
linking it. (If that works, then it knows you’ve got ImageMagick. If that
fails, it tries the same scheme to find InitializeMagick in
libGraphicsMagick.so, which is a brand-new fork of IM and RMagick doesn’t really
support yet.)

My belief is that if you can successfully run the ImageMagick utilities
such as convert or mogrify, then this step of the configure script should
also work. And it does on various flavors of Linux, FreeBSD, and cygwin. I
don’t know why it doesn’t work on OS X, especially since OS X is supposed
to be very compatible with other free *nixes. However, I’m OS X clue-free,
so I’m hoping that some kind OS X-knowledgeable person can point out what
I need to do to get RMagick to install on OS X.

Anyway, sorry you’re having trouble, and thanks for trying RMagick!

···

On Wed, 07 May 2003 14:39:53 -0700, Francis Hwang wrote:

Tim Hunter Tim.Hunter@sas.com wrote in message
news:uufibvskk0rmqmpgdle0ql4iq0s5vmnjal@4ax.com

Another fellow tried to install RMagick on OS X a few weeks ago and
reached the same impasse. After several days of trying things
back-and-forth we gave up in frustration. I think it’s going to take
somebody who understands OS X installs to figure out the problem and
tell me what I need to change in the RMagick installation procedure.
Sadly, I don’t have access to an OS X machine.

OK, thanks. BTW, what’s InitializeMagick?

Francis