Unable to install HPLip for printer. Missing some dependencies

When i try to install hplip, I get the errors:

**error: A required dependency 'libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)' is still missing.**
**error: A required dependency 'sane-devel (SANE - Scanning library development files)' is still missing.**

I am unable to find the packages to install those. Where would I get those packages?

Hi
Installing, you mean by compiling yourself? The development packages are net-snmp-devel and sane-backends-devel for openSUSE.

I’m using HPLip’s installer. I assume it is doing compiling.

When i try to install “net-snmp-devel”, I get the popup from YAST:

Problem: net-snmp-devel-5.7.3-4.1.x86_64 requires libopenssl-devel, but this requirement cannot be provided
  uninstallable providers: libopenssl-devel-1.0.1i-4.1.x86_64[repo-oss]
                   libopenssl-devel-1.0.1i-12.1.x86_64[repo-update]
                   libopenssl-devel-1.0.1i-15.1.x86_64[repo-update]
                   libopenssl-devel-1.0.1i-6.1.x86_64[repo-update]
                   libopenssl-devel-1.0.1i-9.1.x86_64[repo-update]
 Solution 1: deinstallation of libressl-devel-2.3.0-7.1.x86_64
 Solution 2: do not install net-snmp-devel-5.7.3-4.1.x86_64
 Solution 3: break net-snmp-devel-5.7.3-4.1.x86_64 by ignoring some of its dependencies


What should I choose?

Hi
Have you built something with libressl-devel? It could probably be uninstalled (since it’s a devel package).

Why build, assuming your after the latest version, use the Printing repo?

I don’t think I have.

And I’m not building, I’m simply running the hplip install script that I downloaded from HP’s website. This is how they say to install on a LEAP computer. (I tried the HPLip from YAST, but it wasn’t able to see my printer)

Hi
Nope it’s building hplip, I suggest you add the Printing repo and update hplip from there, if that doesn’t work, raise a bug for sure.


zypper ar -f http://download.opensuse.org/repositories/Printing/openSUSE_Leap_42.1/ Printing
zypper ref
zypper up

Are you sure that wasn’t just due to the firewall blocking discovery?
https://forums.opensuse.org/showthread.php/518376-Can-t-detect-HP-network-printer

I entered the IP address directly and it still couldn’t find it

Run nmap with printer IP address and report back

nmap <printer IP address>

Question: Why not use the hplip that Leap has available ?

Other question: are you on the same network ? I.e. connected to the same router?
Silent question: is the printer on?

Yes, I’d like to see the IP address confirmed with both a ping response and nmap scan.

I did and it didn’t work, so was trying from the source.

Yes.

yes. A colleague printed on it for me after I couldn’t get it to work. he also has a laptop (Mac).

I will try this next time I’m there