Between ImageMagick 6.2.9-8 and 6.3.6-1, "ltdl/ltdl.c" changed 

  #  include <magick/magick-config.h>

to:

  #  include "../magick/magick-config.h"

This causes problems when building with the object directory as a
subdirectory of the source tree.  The compiler chooses "magick-config.h"
from the source "magick" directory rather than the one generated by
"configure".  E.g.:

  > cd ImageMagick-6.3.6
  > mkdir solaris
  > cd solaris
  > ../configure -C --prefix=$PWD --enable-shared --disable-static 
--without-perl --disable-installed --without-frozenpaths --enable-lzw CC=cc 
CFLAGS="-xO3" CXX=CC CXXFLAGS="-xO3" CPPFLAGS="-I$PWD/aux-libs/include" 
LDFLAGS="-L$PWD/aux-libs/lib"
  ...
  > make
  ...
  /bin/bash ./libtool --silent --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. 
-I./magick -I./wand -I..  -I. -I.. -I../Magick++/lib 
-I/programs/ipl/pub/imagemagick/ImageMagick-6.3.6/solaris-noinstall/aux-libs/include
  -xO3 -D_REENTRANT -c -o ltdl/ltdl.lo ../ltdl/ltdl.c
  "../ltdl/ltdl.c", line 120: cannot find include file: <argz.h>
  ...

Putting the include back to "<magick/magick-config.h>" makes the compile
work using this setup.

--
Ken Laprade                     Email: [EMAIL PROTECTED]
Harris Corporation              Voice: (321)984-5727
PO Box 9800, MS W3/31G
Melbourne, FL 32902
_______________________________________________
Magick-bugs mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-bugs

Reply via email to