Page 1 of 1

Installing Imagick/MagickWand

Posted: 2011-05-22T15:29:11-07:00
by earachefl
Sorry if this has been asked/answered before... a cursory search didn't show any immediately relevant results.

I'm working on installing ImageMagick and Imagick and could use some help. I have XAMPP installed on OS 10.5.8. I managed to get ImageMagick installed using macports. I then created a .bash_profile and added this path to it:
export PATH=$PATH:/Volumes/bootay/Applications/XAMPP/xamppfiles/bin/
After doing that, I tried to install Imagick using:
sudo pecl install imagick
which gave me the error message at the end:
checking ImageMagick MagickWand API configuration program... configure: error: not found. Please provide a path to MagickWand-config or Wand-config program.
ERROR: `/Applications/XAMPP/xamppfiles/temp/pear/temp/imagick/configure --with-imagick' failed
I then downloaded MagickWand and ran phpize on it, which gave me the error message:
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config

At this point, I'm not sure what I should do. Should I have run ./configure prior to running phpize? Or what?

p.s. I went ahead and tried running ./configure for MagickWand. At the end I got error:

checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config

I checked for the existence of Wand-config and got:

Computer-157:MagickWandForPHP-1.0.7 mymac$ Wand-config --version
6.6.9 Q16

I then added a path to MagickWand-config:

export PATH=$PATH:/opt/local/var/macports/software/ImageMagick/6.6.9-1_1+q16/opt/local/bin/

and was able to run phpize successfully. However, running ./configure gives error:

checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config

which I don't understand given that I added that path previously.

Re: Installing Imagick/MagickWand

Posted: 2012-02-29T12:57:49-07:00
by BilboUK
Bit of a late reply I know but I'll post for the benefit of others.

I believe MagickWand-config is only installed if you compile ImageMagick from source. I installed it from an rpm (on Centos) and it wasn't there.

Re: Installing Imagick/MagickWand

Posted: 2012-02-29T21:05:23-07:00
by anthony
It is probably only present if you install the development package. (with the includes)