tce-load -i Xorg-7.7-3d-dev liblzma-dev librsvg-dev libwebp-dev cd ImageMagick-6.9.1-0 CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe" ./configure -prefix=/usr/local --disable-static --localstatedir=/var --enable-hdri --with-modules --with-rsvg --with-dejavu-font-dir=/usr/local/share/fonts/dejavu find . -name Makefile -type f -exec sed -i 's/-O2//g' {} \; make sudo make install configure: ============================================================================== ImageMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type: x86_64-unknown-linux-gnu Build 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=16 16 High Dynamic Range Imagery --enable-hdri=yes yes Install documentation: yes 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 FlashPIX --with-fpx=yes no FontConfig --with-fontconfig=yes yes FreeType --with-freetype=yes yes Ghostscript lib --with-gslib=no no Graphviz --with-gvc=no JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes yes JPEG-2000 --with-jp2= LCMS v1 --with-lcms=no no LCMS v2 --with-lcms2=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 RSVG --with-rsvg=yes yes TIFF --with-tiff=yes yes WEBP --with-webp=yes yes WMF --with-wmf=no no X11 --with-x= yes XML --with-xml=yes yes ZLIB --with-zlib=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 none Dejavu fonts --with-dejavu-font-dir=/usr/local/share/fonts/dejavu /usr/local/share/fonts/dejavu/ Ghostscript fonts --with-gs-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 = 6.9.1 CC = gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe -std=gnu99 -std=gnu99 CFLAGS = -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/harfbuzz -fopenmp -g -O2 -Wall -march=core2 -fexceptions -pthread -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 CPPFLAGS = -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/local/include/libxml2 PCFLAGS = DEFS = -DHAVE_CONFIG_H LDFLAGS = -L/usr/local/lib LIBS = CXX = g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti CXXFLAGS = -g -O2 -pthread FEATURES = DPC HDRI OpenMP Modules DELEGATES = bzlib mpeg fontconfig freetype jng jpeg lcms lzma pango png rsvg tiff webp x xml zlib ==============================================================================