On Dec 5, 2008, at 4:31 PM, Thomas Treichl wrote:
In the file 'src/Makefile' of the package image-1.0.8.tar.gz it is not
enough to get back the --cppflags and --ldflags from Magick++-config.
At least on a Mac (but I expect this won't make any difference on
Linux, too) it is necessary to get back --libs, otherwise the
installation of image-1.0.8 fails because of the linker error Bob
reported before.
I changed the following line in 'src/Makefile'
__magick_read__.oct: __magick_read__.cc
$(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config
--ldflags`
into
__magick_read__.oct: __magick_read__.cc
$(MKOCTFILE) $< `Magick++-config --cppflags --ldflags --libs`
and then was able to successfully install image-1.0.8.tar.gz in
Octave.app, too.
Bob, I send you a modified package offside any mailing-list. Please
try to install that one instead and report back if this works for you
so that we can think about making a modification in the sources.