Can not install MagickWand or IMagick for PHP

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
nomaam

Can not install MagickWand or IMagick for PHP

Post 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
nomaam

Re: Can not install MagickWand or IMagick for PHP

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Can not install MagickWand or IMagick for PHP

Post 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.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot] and 10 guests