Page 1 of 1

problem with {Magick{,++},Wand}-config

Posted: 2008-01-04T07:16:10-07:00
by _maekke_
Hello

{Magick{,++},Wand}-config do not work as expected. Their output should be the necessary data to compile/link other stuff with it. They should not include the flags that were used to compile ImageMagick.
pkg-config seems to be correct:

Code: Select all

$ pkg-config --libs ImageMagick++
-lMagick++ -lWand -lMagick
The incorrect Magick++-config:

Code: Select all

$ Magick++-config --libs
-lMagick++ -lMagick -llcms -ltiff -lfreetype -ljpeg -lfontconfig -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lpthread -lWand -lMagick
The same is with the cflags etc. For the reference, we also have a bug entry at the gentoo bugzilla: https://bugs.gentoo.org/show_bug.cgi?id=153476


Markus

Re: problem with {Magick{,++},Wand}-config

Posted: 2008-01-04T09:57:33-07:00
by magick
We have a patch for this problem in ImageMagick 6.3.7-9 Beta available sometime tomorrow. Thanks.