hplip-3.20.9 won't install on ElementaryOS / Ubuntu 18.04

Asked by Andy Dearden

I am trying to install 3.20.9 on elementaryOS (Ubuntu 18.04). Autoinstall has not worked, so I chose manual, but I still hit a problem with required libraries. (chose class

........

=================================================================

Enter number 0...19 (q=quit) ?15

Distro set to: Ubuntu 18.04

DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : c

Would you like to Create package or Install Class Drivers ('p'=create package, 'i'= install*) : i

Initializing. Please wait...

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK

RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
None
OK

MISSING DEPENDENCIES
--------------------
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name Component Required/Optional
libtool prnt REQUIRED
Do you want to install these missing dependencies (y=yes*, n=no, q=quit) ? y

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: This installer cannot install 'libtool' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

===================================================

However: apt reports that libtool is present & up to date:

=====================================================
sudo apt install libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
libtool is already the newest version (2.4.6-2).
The following packages were automatically installed and are no longer required:
  libllvm9 libsystemd0:i386 libudev1:i386
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

================================================

Any advice gratefully received.
The version of hplip on the elementaryOS distro at the moment is 3.17.10, which does not support my new printer HP Envy 6022

After some messing about I installed libtool-bin which took me further.

My problem now is:
CUPSEXT could not be loaded. Please check HPLIP installation.(details in the comments below)

Question information

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

Maybe installing libltdl-dev helps

Revision history for this message
Andy Dearden (andy-dearden) said :
#2

I've just tried sudo apt-get install libtool-bin which has got me further - but now I am missing cupsext

> sudo sh hplip-3.20.9.run

Creating directory hplip-3.20.9
Verifying archive integrity... All good.
Uncompressing HPLIP 3.20.9 Self Extracting Archive..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
warning: hplip-install should not be run as root.

HP Linux Imaging and Printing System (ver. 3.20.9)
HPLIP Installer ver. 5.1

Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Installer log saved in: hplip-install_Sun-15-Nov-2020_14:49:00.log

warning: elementary distro is not found in AUTH_TYPES
\error: You are running the installer as root. It is highly recommended that you run the installer as
error: a regular (non-root) user. Do you still wish to continue?
Continue with installation (y=yes, n=no*, q=quit) ? y

note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.
error: Auto installation is not supported for 'unknown' distro so all dependencies may not be installed.
Please install manually as mentioned in 'http://hplipopensource.com/hplip-web/install/manual/index.html' web-site

Press 'y' to continue auto installation. Press 'n' to quit auto instalation(y=yes, n=no*): y

INSTALLATION MODE
-----------------
Automatic mode will install the full HPLIP solution with the most common options.
Custom mode allows you to choose installation options to fit specific requirements.

Please choose the installation mode (a=automatic*, c=custom, q=quit) : c

INTRODUCTION
------------
This installer will install HPLIP version 3.20.9 on your computer.
Please close any running package management systems now (YaST, Adept, Synaptic, Up2date, etc).

DISTRO/OS CONFIRMATION
----------------------

DISTRO/OS SELECTION
-------------------

Choose the name of the distro/OS that most closely matches your system:

Num. Distro/OS Name
---- ------------------------
0 Mepis
1 Debian
2 SUSE Linux
3 Mandriva Linux
4 Fedora
5 Red Hat
6 Red Hat Enterprise Linux
7 Ubuntu
8 PCLinuxOS
9 Linux Mint
10 gOS
11 Linpus Linux
12 Manjaro Linux
13 IGOS
14 Boss
15 Linux From Scratch

Enter number 0...15 (q=quit) ?7

Choose the version of "Ubuntu" that most closely matches your system:

Num. Distro/OS Version
---- ----------------------------------------
0 Unknown or not listed
1 10.04 ("Lucid", Released 2010)
2 11.10 ("Oneiric", Released 13/10/2011)
3 12.04 ("Precise", Released 28/04/2012)
4 12.10 ("Quantal", Released 18/10/2012)
5 13.04 ("Raring", Released 25/04/2013)
6 13.10 ("Saucy", Released 17/10/2013)
7 14.04 ("Trusty", Released 17/04/2014)
8 14.10 ("Utopic", Released 23/10/2014)
9 15.04 ("Vivid", Released 17/04/2015)
10 15.10 ("Willy", Released 22/10/2015)
11 16.04 ("Xenial", Released 17/04/2016)
12 16.10 ("Yakkety", Released 13/10/2016)
13 17.04 ("Zesty", Released 31/05/2017)
14 17.10 ("Artful Aardvark", Released
      19/10/2017)
15 18.04 ("Bionic Beaver", Released
      5/04/2018)
16 18.10 ("Cosmic Cuttlefish", Released
      18/10/2018)
17 19.04 ("Cosmic Cuttlefish", Released
      18/10/2018)
18 19.10 ("Eoan Ermine", Released
      26/10/2019)
19 20.04 ("Cosmic Cuttlefish", Released
      18/10/2018)

Enter number 0...19 (q=quit) ?15

Distro set to: Ubuntu 18.04

DRIVER OPTIONS
--------------
Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : c

Would you like to Create package or Install Class Drivers ('p'=create package, 'i'= install*) : i

Initializing. Please wait...

RUNNING PRE-INSTALL COMMANDS
----------------------------
OK

RUNNING HPLIP LIBS REMOVE COMMANDS
----------------------------------
None
OK

CHECKING FOR NETWORK CONNECTION
-------------------------------
Network connection present.

RUNNING PRE-PACKAGE COMMANDS
----------------------------
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
HPLIP-3.17.10 exists, this may conflict with the new one being installed.
Do you want to ('i'= Remove and Install*, 'q'= Quit)? :i
Starting uninstallation...
HPLIP uninstallation is completed

RUNNING POST-PACKAGE COMMANDS
-----------------------------
OK

RE-CHECKING DEPENDENCIES
------------------------
OK

PRE-BUILD COMMANDS
------------------
OK

BUILD AND INSTALL
-----------------
cmnd:make install
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --disable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --enable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --disable-network-build --disable-dbus-build --disable-scan-build --disable-fax-build'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make clean'
Please wait, this may take several minutes...
Command completed successfully.

Running 'make'
Please wait, this may take several minutes...
Command completed successfully.

Running 'su -c "make install"'
Please wait, this may take several minutes...
Command completed successfully.

Build complete.

POST-BUILD COMMANDS
-------------------
warning: CUPSEXT could not be loaded. Please check HPLIP installation.

Revision history for this message
Andy Dearden (andy-dearden) said :
#3

Thanks Manfred. Sadly, libltdl-dev is already installed & up to date, so that isn't covering it - though perhaps the libtool-bin install solved that problem. cupsext is my new problem.

Can you help with this problem?

Provide an answer of your own, or ask Andy Dearden for more information if necessary.

To post a message you must log in.