Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MagickWand ./configure can't find MagickWand-config

I've been trying unsuccessfully to install ImageMagick and am stuck at this point. I've dled and phpized MagickWand and am trying to run ./configure and get the error:

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

I've tried both export PATH=$PATH:/opt/local/bin and export PATH=$PATH:/opt/local/bin/

and have also tried adding the paths to my .bash_profile file. I've also confirmed that there is a MagickWand-config executable in my /opt/local/bin directory.

Suggestions?

like image 365
earachefl Avatar asked May 28 '11 15:05

earachefl


1 Answers

Try sudo apt-get install libmagickwand-dev and then run ./configure. Worked for me on Ubuntu 10.04 after grabbing MagickWand 1.0.8 source from http://www.magickwand.org/download/php/.

like image 179
Charlie Schliesser Avatar answered Oct 13 '22 10:10

Charlie Schliesser