日期:2014-05-16  浏览次数:20411 次

(六) JMagick安装

1.安装ImageMagick

?

rpm -qa|grep libtiff ??? 检查是否已经安装

rpm -qa|grep libpng? 检查是否已经安装

rpm -qa|grep libjpeg 检查是否已经安装

rpm -qa|grep freetype 检查是否已经安装

rpm -qa | grep ImageMagick 检查是否已经安装

rpm -qa | grep Jmagick 检查是否已经安装

?

?卸载老版本(对应系统安装的版本号)???

? rpm -e? -allmatches -nodeps ?ImageMagick-6.2*

? rpm -e? --allmatches ??jmagick-6.4.0-3

?

?? 下载

? 下载地址: http://downloads.jmagick.org/6.4.0/ImageMagick-6.4.0-0.tar.gz

?

?

? 安装

??? 解压

[root@localhost bluesea]# tar -zxvf ImageMagick-6.4.0-0.tar.gz 

??? 进入解压目录

[root@localhost bluesea]# cd ImageMagick-6.4.0

?? ? 配置安装参数

[root@localhost ImageMagick-6.4.0]# ./configure --prefix=/usr/local/ImageMagick

?

          Option                        Value
-------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=yes           yes
Module support    --with-modules=yes            yes
GNU ld            --with-gnu-ld=yes             yes
Quantum depth     --with-quantum-depth=16       16
High Dynamic Range Imagery
                  --enable-hdri=no              no

Delegate Configuration:
BZLIB             --with-bzlib=yes              no
DJVU              --with-djvu=no                no
DPS               --with-dps=yes                no
FlashPIX          --with-fpx=yes                no
FontConfig        --with-fontconfig=yes         no
FreeType          --with-freetype=yes           no
GhostPCL          None                          pcl6 (unknown)
GhostXPS          None                          gxps (unknown)
Ghostscript       None                          gs (8.15.2)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=default
Ghostscript lib   --with-gslib=yes              no
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=yes               no
JPEG v1           --with-jpeg=yes               no


JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               no
LQR               --with-lqr=no         no
Magick++          --with-magick-plus-plus=yes   yes
OpenEXR           --with-openexr=yes            no
PERL              --with-perl=yes               /usr/bin/perl
PNG               --with-png=yes                no


RSVG              --with-rsvg=yes               no
TIFF              --with-tiff=yes               no
result_windows_font_dir='none'
Windows fonts     --with-windows-font-dir=
WMF               --with-wmf=yes                no
X11               --with-x=                     yes
XML               --with-xml=yes                no
ZLIB              --with-zlib=yes               no

?? 发现上面? JPEG,PNG 支持都是 no

?? 解决:到系统安装源目录找到如下3个包并安装(过程略)

? zlib-devel-1.2.3-3.x86_64.r