tce-load -i compiletc gnutls35-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 -mtune=generic -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -mtune=generic -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 5.62s] sudo make install [cups-driverd] Unable to open driver directory "/usr/local/lib/cups/driver": No such file or directory