Octave + Image package + Mac OS X
November 14th, 2008
A quick public service note for anyone else trying to install the Image package (1.0.8 was the version I downloaded) with Octave (3.0.3 was the version I had) installed as Octave.app from the Octave Forge page.
I had ImageMagick 6.4.1 installed via fink on OS 10.4.11, but installing the Octave Image package was failing on
mkoctfile __magick_read__.cc
Looking in image-1.0.8/src/Makefile, there is the line
$(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config --ldflags`
which, it turns out, needed to be
$(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config --ldflags` `Magick++-config --libs`
for me.
Since it took me several hours to sort this all out, I’m putting it here for anyone else having trouble getting the Image package installation to link with ImageMagick.