imagick-3.1.0RC2 安装错误

简介:

PHP 5.4.8 安装 imagick-3.1.0RC2 安装冒出一大堆错误,

貌似跟 ImageMagick-6.8.0-2 这个版本有关系,

我之前换成低版本的 ImageMagick 就可以顺利通过 php 编译扩展

网上资料也不多,找了半天,最后发现了个命令也不知道是干什么的,反正运行了此命令后解决问题,顺利完成安装鸟。。。:

export PKG_CONFIG_PATH=/usr/local/ImageMagick/lib/pkgconfig/

安装步骤:

tar zxvf imagick-3.1.0RC2.tgz
cd imagick-3.1.0RC2/
/usr/local/php/bin/phpize
export PKG_CONFIG_PATH=/usr/local/ImageMagick/lib/pkgconfig/
./configure --with-php-config=/usr/local/php/bin/php-config --with-imagick=/usr/local/ImageMagick
make && make install
cd ../





目录
相关文章
|
14天前
|
Python
yum 安装报错 File "/usr/bin/yum", line 30
yum 安装报错 File "/usr/bin/yum", line 30
9 0
自行编译cups绕过错误:file /etc/rc.d/rc.local from install of systemd conflicts with file from
自行编译cups绕过错误:file /etc/rc.d/rc.local from install of systemd conflicts with file from
71 0
|
应用服务中间件 Linux nginx
centos安装nginx 报错:cp: `conf/koi-win' and `/usr/local/nginx/conf/koi-win' are the same file
centos安装nginx 报错:cp: `conf/koi-win' and `/usr/local/nginx/conf/koi-win' are the same file
708 0

热门文章

最新文章