tce-load -i fontconfig-dev libpng-dev libtiff-dev cairo-dev lcms2-dev perl5 gobject-introspection-dev cd poppler-0.24.5 edit configure line 24293 enable_poppler_cpp=yes 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 --enable-zlib --enable-xpdf-headers --enable-poppler-cpp find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install Building poppler with support for: font configuration: fontconfig splash output: yes cairo output: yes qt4 wrapper: no qt5 wrapper: no glib wrapper: yes introspection: yes cpp wrapper: yes use gtk-doc: no use libjpeg: yes use libpng: yes use libtiff: yes use zlib: yes use libcurl: no use libopenjpeg: no use cms: yes with lcms2 command line utils: yes test data dir: /usr/src/poppler-0.24.5/./../test