I have Ubuntu 17.10. My kernel version is 4.14.21-041421-generic.
I have downloaded HPLIP 3.17.11 run file from the website.
Unfortunately I am unable to compile it. After running the .run
file, it starts ./configure
, which throws an error regarding net-snmp
.
In particular, these are the last lines of configure:
checking for cups ppd install... no
checking for foomatic-rip-hplip install... no
checking for qt5... no
checking for qt4... yes
checking for qt3... no
checking for policykit... no
checking for host machine platform... x86_64
checking for CRYPTO_free in -lcrypto... no
configure: error: cannot find net-snmp support (or --disable-network-build)
SNMP is installed:
snmp is already the newest version (5.7.3+dfsg-1.7ubuntu1).
and libsnmp-dev
is also installed (version 5.7.3).
Two moments here
hplip-gui is well-packaged on 17.10 - you will get 3.17.7, you can install this version with:
If you need to compile this package you should do the following:
enable source code repositories in
software-properties-gtk
then get build-dependenciesand then run
./configure
,make
and so on.hplip has multiple dependencies like libsnmp, libcups, libusb, libdbus-1. Make sure that you install all of these before running ./configure. If you have all these, the installation runs smoothly.