I'm trying to build and install the latest version (3.15.9) of hplip onto a Debian Stretch/testing system. The hplip automatic installer doesn't cater for Stretch and the web site hasn't yet included instructions either. But I managed to install the dependencies and the ./configure and make seemed to go OK. Yet if I run hp-check I get:
Code:
warning: CUPSEXT could not be loaded. Please check HPLIP installation.
and if I run hp-setup (or seemingly most other hp-* commands) I get:
Code:
Traceback (most recent call last):
File "/usr/local/bin/hp-setup", line 45, in <module>
from base import device, utils, tui, models, module, services, os_utils
File "/usr/local/share/hplip/base/device.py", line 42, in <module>
from . import status
File "/usr/local/share/hplip/base/status.py", line 33, in <module>
import cupsext
ImportError: libhpipp.so.0: cannot open shared object file: No such file or directory
Any idea what's going on here?
I read
here to (oddly) make sure that hplip from the Debian repos and some other packages are also installed and I've done that, no luck.
EDIT: Problem solved, I used the following ./configure options for 64bit Debian 8.2 (closest I could find) listed
here and its now working:
Code:
./configure --prefix=/usr --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib/x86_64-linux-gnu --enable-qt4 --enable-hpcups-install --enable-cups-drv-install --disable-cups-ppd-install --disable-hpijs-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-foomatic-rip-hplip-install --enable-fax-build --enable-dbus-build --enable-network-build --enable-scan-build --disable-policykit --disable-libusb01_build --disable-udev_sysfs_rules --enable-doc-build