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





目录
相关文章
|
3月前
无法执行 GraphicsMagick/ImageMagick #14
无法执行 GraphicsMagick/ImageMagick #14
15 0
|
7月前
|
消息中间件 PHP
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
57 0
PHP编译安装amqp扩展报错解决:/usr/bin/ld: cannot find -lrabbitmq
|
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
47 0
|
8月前
构建freeswitch, make cd-moh-install提示文件错误
构建freeswitch, make cd-moh-install提示文件错误
51 0
|
8月前
构建freeswitch, make cd-moh-install下载不了文件怎么办?
构建freeswitch, make cd-moh-install下载不了文件怎么办?
42 0
|
10月前
|
应用服务中间件 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
283 0
|
Linux
16.7 Linux /etc/rc.d/rc.local配置文件
在 /etc/rc[06].d/ 目录中的程序启动之后,系统的启动就已经完成。不过,我们总有一些程序是需要在系统启动之后随着系统一起启动的。这时我们并不需要自己把需要启动的服务链接到 /etc/rc3.d/ 目录中,因为系统给我们准备了 /etc/rc.d/rc.local 配置文件。
158 0
16.7 Linux /etc/rc.d/rc.local配置文件
|
Ubuntu Linux 开发工具
Linux - ubuntu下Vim安装失败,报The following packages have unmet dependencies: vim : Depends: vim-common
Linux - ubuntu下Vim安装失败,报The following packages have unmet dependencies: vim : Depends: vim-common
373 0
|
Shell Linux
CentOS 编译安装 OpenLiteSpeed 1.5.0RC1
最近 OpenLiteSpeed 推出 1.5.0RC1 版本,1.4.X 版本从 2014 年发布以来持续到 2018 年,而这次终于开始了跨越大版本的更新,不过虽然感觉更新的内容并不是非常的劲爆。
1510 0