tce-load -i compiletc cups-dev libusb-dev libieee1284 net-snmp-dev libv4l2-dev libtiff-dev cd sane-backends-1.0.24 edit configure if test -e /usr/local/include/cups/cups.h ; then 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 [2m 57.60s] 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 -> Variables used for compilation/linking: CPPFLAGS=" -D_REENTRANT -DPATH_SANE_CONFIG_DIR=$(configdir) -DPATH_SANE_DATA_DIR=$(datadir) -DPATH_SANE_LOCK_DIR=$(locksanedir) -DV_MAJOR=1 -DV_MINOR=0" CFLAGS="-g -O2 -W -Wall -g -O2 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -g -O2 -Ulinux -Dlinux=linux -I/usr/local/include -I. -I/usr/local/include -I/usr/local/include/libusb-1.0" LDFLAGS="" LIBS="-lcups -L/usr/local/lib -L/usr/local/lib -lnetsnmp -lcrypto -lm" -> Installation directories: Configuration: /usr/local/etc Libraries: /usr/local/lib Binaries: /usr/local/bin and /usr/local/sbin Manpages: /usr/local/share/man Documentation: /usr/local/doc/sane-1.0.24 Lockfiles: /var/lock/sane -> Network parameters: Build saned: yes IPv6 support: yes Avahi support: yes SNMP support: yes CUPS support: yes -> The following backends will be built: 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