tce-load -i compiletc net-snmp-dev cups2-dev libusb-dev dbus-python-dev libsane-dev libjpeg-turbo-dev cd hplip-3.17.11 edit io/hpmud/musb.h #include CC="gcc -mtune=generic -Os -pipe" CXX="g++ -mtune=generic -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --localstatedir=/var --disable-gui-build --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 find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; find . -name config.status -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 32.38s] 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