ImageMagick只要监测到libpng-devel就会使with-png=yes,所以安装libpng-devel时可以设置nodeps选项
离线安装ImageMagick,安装文件放置在/tmp目录下
rpm -i /tmp/libpng-devel-1.5.13-7.el7_2.x86_64.rpm --nodeps
cd /tmp/ImageMagick
./configure
查看回显:PNG --with-png=yes yes
make
make install
本文出自 “记笔记” 博客,请务必保留此出处http://dressame.blog.51cto.com/12551541/1895284
原文地址:http://dressame.blog.51cto.com/12551541/1895284