Page 1 of 1

Can not install MagickWand or IMagick for PHP

Posted: 2009-09-18T17:29:25-07:00
by nomaam
I am working on Debian Etch, with PHP5

I am unable to intall either MagickWand or IMagick for PHP

I have installed ImageMagick

Wand-config --version
Shows version of 6.5.6 Q16

I then try to install MagickWand for PHP 1.0.8 The install notes say to run the following while in the folder

phpize

./configure

make

I run phpize and ./configure without any problems. When I try to run make I get the following error:

MagickWandForPHP-1.0.8/magickwand.c:11225: error: expected ')' before 'color_qntm'
make: *** [magickwand.lo] Error 1


I then try to install imagick-2.3.0

The install instructions are the same as above. However I get a failure on the ./configure command

checking for MagickWand.h header file... configure: error: Cannot locate header file MagickWand.h

I have the development packages also installed

libmagick9-dev
libmagick++9-dev
libmagick++9c2a
libmagick9
libmagic-dev

Could someone please advise how to install IMagick and MagickWand?

Thanks

Re: Can not install MagickWand or IMagick for PHP

Posted: 2009-09-18T17:36:21-07:00
by nomaam
phpinfo(); shows the following data

imagick
imagick module enabled
imagick module version 2.3.0
imagick classes Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator
ImageMagick version ImageMagick 6.2.4 07/28/09 Q16 http://www.imagemagick.org
ImageMagick copyright Copyright (C) 1999-2005 ImageMagick Studio LLC
ImageMagick release date 07/28/09

Re: Can not install MagickWand or IMagick for PHP

Posted: 2009-09-18T18:03:06-07:00
by magick
Perhaps you need to delete ImageMagick 6.2.4 and install ImageMagick 6.5.6. We verified that both MagickWandForPHP and iMagick compiles and installs without complaint with ImageMagick 6.5.6.