tce-load -i compiletc cmake openssl-dev tiff-dev libunistring-dev fontconfig-dev https://downloads.sourceforge.net/project/podofo/podofo/0.9.6/podofo-0.9.6.tar.gz cd podofo-0.9.6 patch -Np0 -i ../podofo-cmake-3.12.patch mkdir build cd build cmake -LAH -DCMAKE_C_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -fuse-linker-plugin -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DPODOFO_BUILD_SHARED=TRUE -DPODOFO_BUILD_STATIC=FALSE ../ [-fno-exceptions fails] make [2m 48.09s] sudo make install [fails with libidn2] /usr/src/podofo-0.9.6/src/base/PdfEncrypt.cpp:41:10: fatal error: stringprep.h: No such file or directory #include