==---------------------------------------------------------------------------------------------------------------------- -----== Linux ImageMagick 6.9.10-5 安装 【成功!!!】 参考:https://147175882.iteye.com/blog/1322430 https://www.linuxidc.com/Linux/2017-03/141419.htm 1、查看ImageMagick版本号 convert -version [root@fit-server fit]# convert -version Version: ImageMagick 6.7.8-9 2016-06-16 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features: OpenMP 这里是说,如果你想搭建个测试环境,那你得知道参照环境的ImageMagick的版本! 2、下载资源 github资源地址: https://travis-ci.org/ImageMagick/ImageMagick6/jobs/401049055 前提是得安装git!安装也简单:yum install git 创建源码目录:mkdir ImageMagick-6.9.10-5 下载:git clone --depth=50 --branch=6.9.10-5 https://github.com/ImageMagick/ImageMagick6.git 3、配置路径 ./configure --prefix=/fitness/serve/ImageMagick --enable-share --enable-static LDFLAGS="-L/usr/lib64" CPPFLAGS="-I/usr/include" configure: ============================================================================== ImageMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type: x86_64-pc-linux-gnu Build system type: x86_64-pc-linux-gnu Option Value ------------------------------------------------------------------------------ Shared libraries --enable-shared=yes yes Static libraries --enable-static=yes yes Module support --with-modules=no no GNU ld --with-gnu-ld=yes yes Quantum depth --with-quantum-depth=16 16 High Dynamic Range Imagery --enable-hdri=no no Install documentation: yes Delegate Library Configuration: BZLIB --with-bzlib=yes no Autotrace --with-autotrace=no no DJVU --with-djvu=yes no DPS --with-dps