Linux - ImageMagick 6.9.10-5安装配置
生活随笔
收集整理的這篇文章主要介紹了
Linux - ImageMagick 6.9.10-5安装配置
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
==----------------------------------------------------------------------------------------------------------------------
-----== Linux ImageMagick 6.9.10-5 安裝 【成功!!!】參考:https://147175882.iteye.com/blog/1322430 https://www.linuxidc.com/Linux/2017-03/141419.htm1、查看ImageMagick版本號convert -version[root@fit-server fit]# convert -versionVersion: ImageMagick 6.7.8-9 2016-06-16 Q16 http://www.imagemagick.orgCopyright: Copyright (C) 1999-2012 ImageMagick Studio LLCFeatures: 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.git3、配置路徑./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 configurationmatches your expectations.Host system type: x86_64-pc-linux-gnuBuild system type: x86_64-pc-linux-gnuOption Value------------------------------------------------------------------------------Shared libraries --enable-shared=yes yesStatic libraries --enable-static=yes yesModule support --with-modules=no noGNU ld --with-gnu-ld=yes yesQuantum depth --with-quantum-depth=16 16High Dynamic Range Imagery--enable-hdri=no noInstall documentation: yesDelegate Library Configuration:BZLIB --with-bzlib=yes noAutotrace --with-autotrace=no noDJVU --with-djvu=yes noDPS --with-dps=yes noFFTW --with-fftw=yes noFLIF --with-flif=yes noFlashPIX --with-fpx=yes noFontConfig --with-fontconfig=yes yesFreeType --with-freetype=yes yesGhostscript lib --with-gslib=no noGraphviz --with-gvc=yes noHEIC --with-heic=yes noJBIG --with-jbig=yes noJPEG v1 --with-jpeg=yes yesLCMS --with-lcms=yes noLQR --with-lqr=yes noLTDL --with-ltdl=yes noLZMA --with-lzma=yes yesMagick++ --with-magick-plus-plus=yes yesOpenEXR --with-openexr=yes noOpenJP2 --with-openjp2=yes noPANGO --with-pango=yes noPERL --with-perl=no noPNG --with-png=yes yesRAQM --with-raqm=yes noRAW --with-raw=yes noRSVG --with-rsvg=no noTIFF --with-tiff=yes noWEBP --with-webp=yes noWMF --with-wmf=yes noX11 --with-x= yesXML --with-xml=yes yesZLIB --with-zlib=yes yesDelegate Program Configuration:GhostPCL None pcl6 (unknown)GhostXPS None gxps (unknown)Ghostscript None gs (unknown)Font Configuration:Apple fonts --with-apple-font-dir=defaultDejavu fonts --with-dejavu-font-dir=default noneGhostscript fonts --with-gs-font-dir=default noneURW-base35 fonts --with-urw-base35-font-dir=default noneWindows fonts --with-windows-font-dir=default noneX11 Configuration:X_CFLAGS =X_PRE_LIBS =X_LIBS =X_EXTRA_LIBS =Options used to compile and link:PREFIX = /fitness/serve/ImageMagickEXEC-PREFIX = /fitness/serve/ImageMagickVERSION = 6.9.10CC = gcc -std=gnu99 -std=gnu99CFLAGS = -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng15 -fopenmp -g -O2 -Wall -mtune=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16CPPFLAGS = -I/usr/include -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16PCFLAGS =DEFS = -DHAVE_CONFIG_HLDFLAGS = -L/usr/lib64LIBS =CXX = g++CXXFLAGS = -g -O2 -pthreadFEATURES = DPC Cipher OpenMPDELEGATES = mpeg fontconfig freetype jng jpeg lzma png x xml zlib==============================================================================編譯安裝:make && make install需要一會時間,結果:.../usr/bin/mkdir -p '/fitness/serve/ImageMagick/share/doc/ImageMagick-6'/usr/bin/install -c -m 644 LICENSE ChangeLog NEWS.txt '/fitness/serve/ImageMagick/share/doc/ImageMagick-6'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/include/ImageMagick-6/magick'/usr/bin/install -c -m 644 magick/ImageMagick.h magick/MagickCore.h magick/animate.h magick/annotate.h magick/api.h magick/artifact.h magick/attribute.h magick/blob.h magick/cache.h magick/cache-view.h magick/channel.h magick/cipher.h magick/client.h magick/coder.h magick/color.h magick/colormap.h magick/colorspace.h magick/compare.h magick/composite.h magick/compress.h magick/configure.h magick/constitute.h magick/decorate.h magick/delegate.h magick/deprecate.h magick/display.h magick/distribute-cache.h magick/distort.h magick/draw.h magick/effect.h magick/enhance.h magick/exception.h magick/feature.h magick/fourier.h magick/fx.h magick/gem.h magick/geometry.h magick/hashmap.h magick/histogram.h magick/identify.h '/fitness/serve/ImageMagick/include/ImageMagick-6/magick'/usr/bin/install -c -m 644 magick/image.h magick/image-view.h magick/layer.h magick/list.h magick/locale_.h magick/log.h magick/magic.h magick/magick.h magick/magick-config.h magick/magick-type.h magick/matrix.h magick/memory_.h magick/methods.h magick/method-attribute.h magick/mime.h magick/module.h magick/monitor.h magick/montage.h magick/morphology.h magick/opencl.h magick/option.h magick/paint.h magick/pixel.h magick/pixel-accessor.h magick/policy.h magick/prepress.h magick/profile.h magick/property.h magick/quantize.h magick/quantum.h magick/random_.h magick/registry.h magick/resample.h magick/resize.h magick/resource_.h magick/segment.h magick/semaphore.h magick/shear.h magick/signature.h magick/splay-tree.h '/fitness/serve/ImageMagick/include/ImageMagick-6/magick'/usr/bin/install -c -m 644 magick/static.h magick/statistic.h magick/stream.h magick/string_.h magick/studio.h magick/timer.h magick/token.h magick/transform.h magick/threshold.h magick/type.h magick/utility.h magick/version.h magick/vision.h magick/widget.h magick/xml-tree.h magick/xwindow.h '/fitness/serve/ImageMagick/include/ImageMagick-6/magick'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/include/ImageMagick-6/magick'/usr/bin/install -c -m 644 magick/magick-baseconfig.h '/fitness/serve/ImageMagick/include/ImageMagick-6/magick'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/include/ImageMagick-6/Magick++'/usr/bin/install -c -m 644 Magick++/lib/Magick++/Blob.h Magick++/lib/Magick++/ChannelMoments.h Magick++/lib/Magick++/CoderInfo.h Magick++/lib/Magick++/Color.h Magick++/lib/Magick++/Drawable.h Magick++/lib/Magick++/Exception.h Magick++/lib/Magick++/Functions.h Magick++/lib/Magick++/Geometry.h Magick++/lib/Magick++/Image.h Magick++/lib/Magick++/Include.h Magick++/lib/Magick++/Montage.h Magick++/lib/Magick++/Pixels.h Magick++/lib/Magick++/ResourceLimits.h Magick++/lib/Magick++/STL.h Magick++/lib/Magick++/TypeMetric.h '/fitness/serve/ImageMagick/include/ImageMagick-6/Magick++'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/include/ImageMagick-6'/usr/bin/install -c -m 644 Magick++/lib/Magick++.h '/fitness/serve/ImageMagick/include/ImageMagick-6'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/share/man/man1'/usr/bin/install -c -m 644 magick/Magick-config.1 magick/MagickCore-config.1 wand/MagickWand-config.1 wand/Wand-config.1 Magick++/bin/Magick++-config.1 utilities/ImageMagick.1 utilities/animate.1 utilities/compare.1 utilities/composite.1 utilities/conjure.1 utilities/convert.1 utilities/display.1 utilities/identify.1 utilities/import.1 utilities/mogrify.1 utilities/montage.1 utilities/stream.1 '/fitness/serve/ImageMagick/share/man/man1'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/lib/pkgconfig'/usr/bin/install -c -m 644 magick/ImageMagick.pc magick/MagickCore.pc magick/ImageMagick-6.Q16.pc magick/MagickCore-6.Q16.pc wand/MagickWand.pc wand/Wand.pc wand/MagickWand-6.Q16.pc wand/Wand-6.Q16.pc Magick++/lib/Magick++.pc Magick++/lib/ImageMagick++.pc Magick++/lib/Magick++-6.Q16.pc Magick++/lib/ImageMagick++-6.Q16.pc '/fitness/serve/ImageMagick/lib/pkgconfig'/usr/bin/mkdir -p '/fitness/serve/ImageMagick/include/ImageMagick-6/wand'/usr/bin/install -c -m 644 wand/MagickWand.h wand/animate.h wand/compare.h wand/composite.h wand/conjure.h wand/convert.h wand/deprecate.h wand/display.h wand/drawing-wand.h wand/identify.h wand/import.h wand/magick-image.h wand/magick-property.h wand/magick-wand.h wand/magick_wand.h wand/method-attribute.h wand/mogrify.h wand/montage.h wand/pixel-iterator.h wand/pixel-wand.h wand/stream.h wand/wand-view.h '/fitness/serve/ImageMagick/include/ImageMagick-6/wand'make[2]: Leaving directory `/fitness/software/ImageMagick-6.9.10-5/ImageMagick6'make[1]: Leaving directory `/fitness/software/ImageMagick-6.9.10-5/ImageMagick6'4、查看是否安裝成功convert -version[root@iZ8vb2uz59jd5pisp87ljjZ ImageMagick6]# convert -version-bash: convert: command not found5、還需一步操作cd /usr/binln -s /fitness/serve/ImageMagick/bin/convert convert再次查看版本:convert -version[root@iZ8vb2uz59jd5pisp87ljjZ /]# convert -versionVersion: ImageMagick 6.9.10-5 Q16 x86_64 2019-07-04 https://www.imagemagick.orgCopyright: ? 1999-2018 ImageMagick Studio LLCLicense: https://www.imagemagick.org/script/license.phpFeatures: Cipher DPC OpenMPDelegates (built-in): fontconfig freetype jng jpeg lzma png x xml zlib支持類型:jng jpeg lzma png x xml zlib
----------------------------------------------------------------------------------------------------------------------==
總結
以上是生活随笔為你收集整理的Linux - ImageMagick 6.9.10-5安装配置的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 斐讯携手思科建设数据中心 驱动区块链业务
- 下一篇: GeneXus3 筛选条件