tce-load -i compiletc libtool-dev zstd-dev lcms2-dev librsvg-dev libwebp1-dev libxml2-dev pcre-dev https://www.imagemagick.org/download/releases/ImageMagick-7.0.9-21.tar.xz cd ImageMagick-7.0.9-21 CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-hdri --with-modules --with-rsvg [-fno-exceptions -fno-rtti fails] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's/-mtune=haswell//g' {} \; make sudo make install ImageMagick 7.0.9-21 is configured as follows. Please verify that this configuration matches your expectations. Host system type: i686-pc-linux-gnu Build system type: i686-pc-linux-gnu Option Value ------------------------------------------------------------------------------ Shared libraries --enable-shared=yes yes Static libraries --enable-static=no no Build utilities --with-utilities=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=yes yes Install documentation: yes Memory allocation library: JEMalloc --with-jemalloc=no no TCMalloc --with-tcmalloc=no no UMem --with-umem=no no Delegate library configuration: BZLIB --with-bzlib=yes yes Autotrace --with-autotrace=no no DJVU --with-djvu=yes no DPS --with-dps=yes no FFTW --with-fftw=yes no FLIF --with-flif=yes no FlashPIX --with-fpx=yes no FontConfig --with-fontconfig=yes yes FreeType --with-freetype=yes yes Ghostscript lib --with-gslib=no no Graphviz --with-gvc=yes no HEIC --with-heic=yes no JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes yes JPEG XL --with-jxl=yes no LCMS --with-lcms=yes yes LQR --with-lqr=yes no LTDL --with-ltdl=yes yes LZMA --with-lzma=yes yes Magick++ --with-magick-plus-plus=yes yes OpenEXR --with-openexr=yes no OpenJP2 --with-openjp2=yes no PANGO --with-pango=yes yes PERL --with-perl=no no PNG --with-png=yes yes RAQM --with-raqm=yes no RAW --with-raw=yes no RSVG --with-rsvg=yes yes TIFF --with-tiff=yes yes WEBP --with-webp=yes yes WMF --with-wmf=yes no X11 --with-x= yes XML --with-xml=yes yes ZLIB --with-zlib=yes yes ZSTD --with-zstd=yes yes Delegate program configuration: GhostPCL None pcl6 (unknown) GhostXPS None gxps (unknown) Ghostscript None gs (unknown) Font configuration: Apple fonts --with-apple-font-dir=default Dejavu fonts --with-dejavu-font-dir=default none Ghostscript fonts --with-gs-font-dir=default none URW-base35 fonts --with-urw-base35-font-dir=default none Windows fonts --with-windows-font-dir=default none X11 configuration: X_CFLAGS = X_PRE_LIBS = -lSM -lICE X_LIBS = X_EXTRA_LIBS = Options used to compile and link: PREFIX = /usr/local EXEC-PREFIX = /usr/local VERSION = 7.0.9 CC = gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe CFLAGS = -I/usr/local/include/libxml2 -I/usr/local/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/include/uuid -I/usr/local/include -pthread -I/usr/local/include/librsvg-2.0 -I/usr/local/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/include/uuid -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include/pango-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include -I/usr/local/include/pango-1.0 -I/usr/local/include/cairo -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/libdrm -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/include/uuid -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/include/uuid -g -O2 -Wall -mtune=haswell -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 PCFLAGS = DEFS = -DHAVE_CONFIG_H LDFLAGS = LIBS = -L/usr/local/lib -llcms2 -L/usr/local/lib -lfreetype -L/usr/local/lib -lxml2 -L/usr/local/lib -lfontconfig -lfreetype -lXext -lSM -lICE -lX11 -lXt -L/usr/local/lib -llzma -lbz2 -lz -lltdl -lm CXX = g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti CXXFLAGS = -g -O2 -pthread FEATURES = DPC HDRI Cipher Modules DELEGATES = bzlib mpeg fontconfig freetype jng jpeg lcms lzma pango png rsvg tiff webp x xml zlib zstd ==============================================================================