tce-load -i compiletc Xorg-7.7-3d-dev liblzma-dev librsvg-dev libwebp1-dev libgs-dev perl5 libwmf-dev jasper2-dev zstd-dev cd GraphicsMagick-1.3.31 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe" ./configure -prefix=/usr/local --disable-static --localstatedir=/var --enable-shared --with-gs-font-dir=/usr/local/share/ghostscript/fonts --with-perl find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [1m 24.17s] sudo make install cd PerlMagick find . -name Makefile.PL -type f -exec sed -i 's/-g -O2//g' {} \; perl Makefile.PL make sudo make install GraphicsMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type : x86_64-pc-linux-gnu Build system type : x86_64-pc-linux-gnu Option Configure option Configured value ----------------------------------------------------------------- Shared libraries --enable-shared=yes yes Static libraries --enable-static=no no GNU ld --with-gnu-ld=yes yes Quantum depth --with-quantum-depth=8 8 Modules --with-modules=no no Delegate Configuration: BZLIB --with-bzlib=yes yes DPS --with-dps=yes no FlashPIX --with-fpx=no no FreeType 2.0 --with-ttf=yes yes Ghostscript None gs (9.10) Ghostscript fonts --with-gs-font-dir=/usr/local/share/ghostscript/fonts /usr/local/share/ghostscript/fonts/ JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes yes JPEG-2000 --with-jp2=yes yes LCMS v2 --with-lcms2=yes yes LZMA --with-lzma=yes yes Magick++ --with-magick-plus-plus=yes yes PERL --with-perl=yes /usr/local/bin/perl PNG --with-png=yes yes (-lpng16) TIFF --with-tiff=yes yes TRIO --with-trio=yes no WEBP --with-webp=yes yes Windows fonts --with-windows-font-dir= none WMF --with-wmf=yes yes X11 --with-x= yes XML --with-xml=yes yes ZLIB --with-zlib=yes yes X11 Configuration: X_CFLAGS = X_PRE_LIBS = -lSM -lICE X_LIBS = X_EXTRA_LIBS = Options used to compile and link: CC = gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe CFLAGS = -fopenmp -g -O2 -Wall -pthread CPPFLAGS = -I/usr/local/include/freetype2 -I/usr/local/include/libxml2 CXX = g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe CXXFLAGS = -pthread DEFS = -DHAVE_CONFIG_H LDFLAGS = -L/usr/local/lib LIBS = -lwebp -lwebpmux -llcms2 -ltiff -lfreetype -ljasper -ljpeg -lpng16 -lwmflite -lXext -lSM -lICE -lX11 -llzma -lbz2 -lxml2 -lz -lzstd -lm -lpthread