tce-load -i gtk3-dev gtk3-gir gnome-icon-theme gsettings-desktop-schemas gobject-introspection-dev poppler-dev intltool cd evince-3.10.0 CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --disable-static --libexecdir=/usr/local/lib/evince --enable-introspection --without-keyring --disable-nautilus find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; remove help from Makefile (otherwise itstool error - scrollkeeper?) make make install Evince configure summary ======================== Platform .................: gnome Debug mode ...............: no Tests ....................: yes FRONTENDS Viewer ...................: yes Previewer ................: yes Thumbnailer ..............: yes Nautilus Extensions.......: no BACKENDS PDF ......................: yes PostScript ...............: no TIFF .....................: yes DJVU .....................: no DVI ......................: no Comics ...................: yes XPS ......................: no FEATURES GTK Doc reference ........: no GObject Introspection ....: yes DBUS communication .......: yes Keyring integration ......: no Session Manager client ...: xsmp GTK+ Unix Print ..........: yes