The octave forge package "image" builds, but doesn't actually function, on the FreeBSD OS. It seems that Magick++-config needs extra flags in that environment. Maybe other environments need the same extra flags as well.

I attach a patch.

--- src/Makefile-orig   2008-09-14 01:33:56.000000000 -0500
+++ src/Makefile        2008-09-14 01:34:56.000000000 -0500
@@ -30,6 +30,6 @@
        $(MKOCTFILE) $< -lpng
 
 __magick_read__.oct: __magick_read__.cc
-       $(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config --ldflags`
+       $(MKOCTFILE) $< `Magick++-config --cppflags` `Magick++-config --ldflags 
--libs`
 
 clean: ; -$(RM) *.o octave-core core *.oct *~
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to