I am trying to configure and make install imagick extension, here is commands that i used
wget http://pecl.php.net/get/imagick-3.0.1.tgz
tar zxf imagick-3.0.1.tgz
cd imagick-3.0.1
phpize
./configure
But this error happen :
checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h
I found MagickWand.h at this location
/local/include/ImageMagick-6/wand
Here is my ImageMagic Version
Version: ImageMagick 6.8.3-7 2013-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP Modules
Delegates: bzlib djvu fontconfig freetype gslib jng jp2 jpeg lcms openexr pango png ps rsvg tiff wmf x xml zlib
Is there any option with configure so i can locate that header file ?
am i installing right version since my php is 5.3 and ImageMagick 6.8.3-7 trying to install imagick-3.0.1 !?
Thanks in advance
Best Answer
You can use pkg-config to locate header file MagickWand.h Suppose you install ImageMagick in /usr/local/ImageMagick-6.8.4 and imagick-3.0.1