Download graphicsmagick-1.3.21.tar.gz
Decompression: TAR-ZXVF graphicsmagick-1.3.21.tar.gz
cd/usr/local/graphicsmagick-1.3.21 (extracted to the path)
./configure '--build=i686-redhat-linux-gnu '--host=i686-redhat-linux-gnu '--target=i386-redhat-linux-gnu ' '--program-prefix= '--prefix=/usr/local/graphicsmagick-1.3.21 '--exec-prefix=/usr/local/graphicsmagick-1.3.21 ' '--bindir=/usr/local/graphicsmagick-1.3.21/bin '--sbindir=/usr/local/graphicsmagick-1.3.21/sbin '--sysconfdir= /usr/local/graphicsmagick-1.3.21/etc '--datadir=/usr/local/graphicsmagick-1.3.21/share '--includedir=/usr/ Local/graphicsmagick-1.3.21/include '--libdir=/usr/local/graphicsmagick-1.3.21/lib '--libexecdir=/usr/local/ Graphicsmagick-1.3.21/libexec '--localstatedir=/usr/local/graphicsmagick-1.3.21/var '--sharedstatedir=/usr/ Local/graphicsmagick-1.3.21/share/com '--mandir=/usr/local/graphicsmagick-1.3.21/share/man '--infodir=/usr/ Local/graphicsmagick-1.3.21/share/info '--enable-libtool-verbose '--with-included-ltdl '--enable-shared '-- Disable-static '--with-modules '--with-frozenpaths '--without-perl '--without-magick-plus-plus '--with-quantuM-depth=8 '--enable-symbol-prefix
There was such an error. Solution: Yum Install Libtool-ltdl Libtool-ltdl-devel
Then execute # make
# make Install
Configuring Environment variables
Vi/etc/proflie Add the following configuration:
Export Gmagick_home= "/usr/local/graphicsmagick-1.3.21"
Export path= "$GMAGICK _home/bin: $PATH"
Ld_library_path= $GMAGICK _home/lib: $LD _library_path
Export Ld_library_path
Let the configuration take effect
Source/etc/profile
The installation is complete.
Linux installation GraphicsMagick