tce-load -i compiletc cmake nss-dev tiff-dev cairo-dev lcms2-dev gobject-introspection-dev openjpeg-dev curl-dev qt-5.x-dev boost-1.74-dev gperf wget https://poppler.freedesktop.org/poppler-23.09.0.tar.xz cd poppler-23.09.0 mkdir build cd build cmake -LAH -DCMAKE_CXX_FLAGS="-flto -mtune=generic -Os -pipe" -DCMAKE_C_FLAGS="-flto -mtune=generic -Os -pipe" -DCMAKE_C_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_CXX_FLAGS_RELEASE="-flto -mtune=generic -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DCMAKE_VERBOSE_MAKEFILE=TRUE -DENABLE_QT5=ON -DWITH_GTK=OFF -DENABLE_UNSTABLE_API_ABI_HEADERS=ON -DENABLE_QT6=OFF ../ Building Poppler with support for: font configuration: fontconfig use boost (Splash): yes cairo output: yes qt5 wrapper: yes qt6 wrapper: no glib wrapper: yes introspection: yes gtk-doc: no cpp wrapper: yes use libjpeg: yes use libpng: yes use libtiff: yes use zlib uncompress: no use nss3: yes use gpg: no default signature backend: NSS use curl: yes use libopenjpeg2: yes use lcms2: yes command line utils: yes fuzz target: no test data dir: /mnt/data/Downloads/poppler-23.09.0/../test find . -name flags.make -type f -exec sed -i 's/-O2//g' {} \; find . -name link.txt -type f -exec sed -i 's/-O2//g' {} \; make [9m 25.85s] mkdir /tmp/destpoppler make DESTDIR=/tmp/destpoppler install