without sudo; install imagemagick
ps:
In my ubuntu server 11.10,when install php extention for ImageMagick-6.7.4-0.tar.gz, an error occur:
fatal error: wand/MagickWand.h: No such file or directory
to fix this , install pkg-config first.
cd ImageMagick-6.6.3-10/
./configure --prefix=~/imagemagick --disable-openmp
make;
make install;
cd imagick-3.1.0RC1/
/path/to/your/phpize
./configure --with-php-config=/path/to/your/php-config --with-imagick=~/imagemagick
make
make install
ps:
In my ubuntu server 11.10,when install php extention for ImageMagick-6.7.4-0.tar.gz, an error occur:
fatal error: wand/MagickWand.h: No such file or directory
to fix this , install pkg-config first.
本文指导如何在Ubuntu 11.10环境下,通过withoutsudo的方式安装ImageMagick,并解决安装PHP扩展时遇到的错误。重点在于安装步骤及解决路径错误的方法。

被折叠的 条评论
为什么被折叠?



