jankom Guru
Joined: 30 Aug 2021 Posts: 365 Location: USA
|
Posted: Sun Jan 05, 2025 11:37 pm Post subject: hpli - python - WiFi |
|
|
Hello, unfortunately I have to turn to this forum for help.
I have a cheap laserjet BW HP printer, P1102w. Years ago somehow I was able to make it work on my home WiFi network (WPA, SSID hidden). Recently after eix-sync it started to act up, stopped printing in the middle of multi-page document. I also have HPLIP because it is needed for another HP printer.. So I almost decided to get another inexpensive laserjet printer, but have spare cartriges for this P1102w, therefore tried to fix it myself..
a) deleted and re-emerged gentoo hplip package. Setting the printer up according to hp-setup: USB OK, prints long documents. Trying to set up as WiFi; it recognizes as WiFi capable, after long time searching. I could even enter SSID and PW, hp-setup says connected, but the WiFi ibdicator keeps blnkink, and the built-in diagnostic report shows no IP.
b) Tried to compile HP Develompent version of hplip, but Code: | ...
checking for python platform... linux
checking for python script directory... ${prefix}/lib/python3.12/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python3.12/site-packages
checking for path to Python.h... File "<string>", line 1
from distutils.sysconfig import get_python_inc; print get_python_inc();
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(...)?
"using "
checking python3.1/Python.h usability... no
checking python3.1/Python.h presence... no
checking for python3.1/Python.h... no
configure: error: cannot find python-devel support
|
c) During above troubleshooting attempts it was complaing about the need for python-2.7. So I emerged it, still the same configure error.
It is more of a challenge for me, because I can print now with USB wired connection.
If anybody is interested with offering ideas I would appreciate. One more thing, I emerged net-snmp and it compiled well, although Gentoo wiki on hplip warns that as of November 2024 the ebuild of net-snmp is broken.
jankom |
|