tce-load -i compiletc gnutls3.6-dev avahi-dev xdg-utils https://github.com/apple/cups/releases/download/v2.3.1/cups-2.3.1-source.tar.gz cd cups-2.3.1 sed -i '/stat.h/a #include ' tools/ipptool.c CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --localstatedir=/var --disable-static --with-cups-user=tc --with-cups-group=staff --disable-systemd --disable-acl [printcap location - default /etc/printcap] edit Makedefs remove "-g" make [1m 18.60s] sudo make install [cups-driverd] Unable to open driver directory "/usr/local/lib/cups/driver": No such file or directory