Trying to install hplip-3.12.6 error cannot find libusb 1.0 support

Asked by Tom Browder

I'm trying to get my Laser Jet Pro 400 MFP m425dn (on my network with its own static IP address, wired, not wireless) to work with "xsane" on Debian 11.

Note my main system (Debian 11 PC, with its own static IP address, wired) finds it and it works well as a printer. It also works with wireless devices like iPads and iPhones.

 I have tried to install hplip-3.12.6 with a simple "./configure" and get:

    configure: error: cannot find net/ucd-snmp support (or --disable-network-build)

Then I search for 'snmp', find 'libsnmp-dev', try install it, and get:

     libsnmp-dev : Depends: libpci-dev but it is not installable
    The following actions will resolve these dependencies:

         Keep the following packages at their current version:
     1) libsnmp-dev [Not Installed]

     quit

Then I do:

    sudo aptitude install libudev-dev

     The following packages have unmet dependencies:
     libudev-dev : Depends: libudev1 (= 247.3-7+deb11u2) but 247.3-7+deb11u4 is installed
     The following actions will resolve these dependencies:

         Keep the following packages at their current version:
         1) libudev-dev [Not Installed]

I don't know how to get past that without going deep into dependency hell with building from multiple sources.

As a last resort, I can always scan to a USB thumb drive, but I would really like to scan onto my local Debian host as I can do with Windows.

I appreciate any help you can give me.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

Why are you trying to install a version of HPLIP as ancient as 3.12.6?
Support for Debian 11 was added only in version 3.21.6 (or is that just a typo error?)

I suggest that you use the newest version (3.23.8)

And why do you need to run ./configure?

Just use https://developers.hp.com/hp-linux-imaging-and-printing/gethplip to download the automatic installer and start the installation with the command

sh ./hplip-3.23.8.run

Revision history for this message
Tom Browder (tbrowder) said :
#2

I got past this by just installing the current "hplip" packages for Debian 11.

Now I have to figure out how to configure those packages.