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 ../





目录
相关文章
|
1月前
|
Linux
在linux中使用 ./configure 时报错
在linux中使用 ./configure 时报错
|
8月前
自行编译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
48 0
|
8月前
构建freeswitch, make cd-moh-install下载不了文件怎么办?
构建freeswitch, make cd-moh-install下载不了文件怎么办?
43 0
|
Shell Linux
CentOS 编译安装 OpenLiteSpeed 1.5.0RC1
最近 OpenLiteSpeed 推出 1.5.0RC1 版本,1.4.X 版本从 2014 年发布以来持续到 2018 年,而这次终于开始了跨越大版本的更新,不过虽然感觉更新的内容并不是非常的劲爆。
1510 0
相关产品
云迁移中心
推荐文章
更多