tce-load -i compiletc net-snmp-dev cups-dev libusb-dev dbus-python-dev sane-backends-dev libjpeg-turbo-dev cd hplip-3.17.11 CC="gcc -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -march=i486 -mtune=i686 -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --localstatedir=/var --disable-gui-build --disable-qt3 --disable-qt4 --disable-doc-build --with-cupsbackenddir=/usr/local/lib/cups/backend --with-cupsfilterdir=/usr/local/lib/cups/filter --with-icondir=/usr/local/share/applications --bindir=/usr/local/bin --with-mimedir=/usr/local/share/cups/mime [--disable-scan-build] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name Makefile -type f -exec sed -i 's@usr/include/libusb-1.0@usr/local/include/libusb-1.0@g' {} \; make [0m 50.52s] sudo make install /var/lib/hp /var/log/hp/tmp Edit /etc/hp/hplip.conf bin=/usr/bin -> /usr/local/bin Edit /etc/udev/rules.d/56-hpmud.rules lp -> staff /usr/bin/hp-config_usb_printer /usr/local/bin/hp-config_usb_printer correct python location in: /usr/local/share/hplip/base/magic.py /usr/local/share/hplip/uninstall.py /usr/local/share/hplip/upgrade.py /usr/local/share/hplip/logcapture.py /usr/local/share/hplip/doctor.py