Cannot locate header file MagickWand.h

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
justin

Cannot locate header file MagickWand.h

Post by justin »

I need some help.

I'm trying to compile /packages/imagick-2.2.1, using Ubuntu, with Version: ImageMagick 6.3.7 02/18/08

./configure
checking whether to enable the imagick extension... yes, shared
checking whether to enable the imagick backend... no
checking ImageMagick MagickWand API configuration program... found in /usr/bin/MagickWand-config
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
echo "`MagickWand-config --prefix`/include/ImageMagick/wand/MagickWand.h"
/usr/include/ImageMagick/wand/MagickWand.h
Tried ./configure --with-imagick=/usr/include/ImageMagick/wand with same result.

I did install ImageMagick with aptitude, I guess I could try compiling it instead? What are your thoughts?
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Cannot locate header file MagickWand.h

Post by mkoppanen »

Did you install the ImageMagick -dev package also ? (Which contains the header files needed).
Mikko Koppanen
My blog: http://valokuva.org
Post Reply