références : http://rmagick.rubyforge.org/install2-linux.htmlInstallation de ImageMagickOn installe d'abord les delegate librairies comme demandé : sudo apt-get install libpng12-0 libpng12-dev libfreetype6 libfreetype6-dev gs-gpl gsfonts-x11 gsfonts
Puis on télécharge la version en cours de ImageMagick : wget http://image_magick.veidrodis.com/image_magick/ImageMagick-6.3.2-9.tar.gz tar xvzf ImageMagick-6.3.2-9.tar.gz cd ImageMagick-6.3.2/
On configure : ./configure
--disable-static --with-modules --without-perl
--without-magick-plus-plus --with-quantum-depth=8
--with-gs-font-dir=/usr/share/fonts/type1/gsfonts
On obtient ceci : ImageMagick is configured as follows. Please verify that this configuration matches your expectations.
Host system type : x86_64-unknown-linux-gnu
Option Value ------------------------------------------------------------------------- Shared libraries --enable-shared=yes yes Static libraries --enable-static=no no Module support --with-modules=yes yes GNU ld --with-gnu-ld=yes yes Quantum depth --with-quantum-depth=8 8
Delegate Configuration: BZLIB --with-bzlib=yes no DJVU --with-djvu=yes no DPS --with-dps=yes no FlashPIX --with-fpx=no no FontConfig --with-fontconfig=no no FreeType --with-freetype=yes yes GhostPCL None pcl6 (unknown) Ghostscript None gs (8.54) Ghostscript fonts --with-gs-font-dir=/usr/share/fonts/type1/gsfonts /usr/share/fonts/type1/gsfonts/ Ghostscript lib --with-gslib=yes no Graphviz --with-gvc=yes no JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes yes JPEG-2000 --with-jp2=yes no LCMS --with-lcms=yes no Magick++ --with-magick-plus-plus=no no PERL --with-perl=no no PNG --with-png=yes yes RSVG --with-rsvg=no no TIFF --with-tiff=yes no Windows fonts --with-windows-font-dir= none WMF --with-wmf=yes no X11 --with-x= no XML --with-xml=yes no ZLIB --with-zlib=yes yes
X11 Configuration:
Not using X11.
Options used to compile and link: PREFIX = /usr/local EXEC-PREFIX = /usr/local VERSION = 6.3.2 CC = gcc CFLAGS = -g -O2 -Wall -W -pthread CPPFLAGS = -I/usr/local/include PCFLAGS = DEFS = -DHAVE_CONFIG_H LDFLAGS = -L/usr/local/lib -lfreetype -lz LIBS = -lMagick -lfreetype -ljpeg -lz -lpthread -lm -lpthread CXX = g++ CXXFLAGS = -g -O2 -Wall -W -pthread
Puis on installe : make sudo make install
Installation de RMagickplus facile : sudo gem install rmagick
|