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
时间: 2024-12-18 09:27:57