LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-07-2015, 01:17 PM   #1
makeyourself
LQ Newbie
 
Registered: Dec 2012
Posts: 20

Rep: Reputation: Disabled
Cannot install hplip on Debian


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

Last edited by makeyourself; 10-07-2015 at 02:46 PM. Reason: solved problem
 
Old 10-08-2015, 09:22 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
Thanks for posting your solution.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 10:23 AM
HPLIP and Photosmart_Plus_B201 in debian lenny garyg007 Debian 1 11-03-2009 08:22 PM
[SOLVED] hplip release - Debian releases - heavy confusion garyg007 Debian 7 10-28-2009 10:02 PM
HPLIP installation in Debian mikieboy Linux - Hardware 1 07-30-2007 07:57 PM
apt-get install dependency problems with hplip software and kde install for Agnula maybi7 Linux - Software 1 02-03-2007 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration