tce-load -i compiletc automake libtool-dev intltool bash libusb-dev libieee1284 net-snmp-dev libv4l2-dev libtiff-dev git clone https://gitlab.com/sane-project/backends [autogen fails in releases] http://mirror.squ.edu.om/gnu/autoconf-archive/autoconf-archive-2019.01.06.tar.xz cd backends sudo ln -s /usr/local/bin/python3.6 /usr/local/bin/python ./autogen.sh BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr canon_pp cardscan coolscan coolscan2 coolscan3 dc25 dc210 dc240 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpsj5s hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx kvs40xx leo lexmark ma1509 matsushita microtek microtek2 mustek mustek_pp mustek_usb mustek_usb2 nec net niash pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax_pp umax1220u v4l xerox_mfp p5" CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --disable-static --localstatedir=/var --enable-avahi --enable-libusb_1_0 --without-gphoto2 --with-group=staff [magicolor backend fails to compile with net-snmp] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [4m 36.64s] sudo make install sudo install -m 644 -v tools/udev/libsane.rules /etc/udev/rules.d/65-scanner.rules sudo chown root:staff /var/lock/sane