HPLIP 3.12.10 installation fail on Ubuntu 8.04

Asked by Jan Gran

OS: Ubuntu 8.04
Printer: HP LaserJet Pro 400 M401dn
HPLIP: 3.12.10

On http://hplipopensource.com/hplip-web/downloads.html it says the Automatic Installer is known to work on Ubuntu 8.04, but when I try run "hplip-3.12.10.run" it fails. First it correctly identify "Ubuntu 8.04" as distro/OS then it tries to install "libcups2-dev" which is not available for Ubuntu 8.04, so I manually install "libcupsys2-dev" which is the correct package name for Ubuntu 8.04. It continues with wrong package names (that actually are installed):
sudo apt-get install --assume-yes cups-bsd (correct and already installed: cupsys-bsd)
sudo apt-get install --assume-yes cups-client (correct and already installed: cupsys-client)
sudo apt-get install --assume-yes libusb-1.0.0-dev (correct and already installed: libusb-dev)

It then continues and seems successfull in installing packages, but stops at the end with an error message:
Running 'sudo apt-get install --assume-yes libtool'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcupsimage2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes openssl'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsnmp-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes policykit'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes policykit-gnome'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libdbus-1-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libsane-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes sane-utils'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes xsane'
Please wait, this may take several minutes...
error: A required dependency 'libusb (libusb - USB library)' is still missing.

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

RE-CHECKING DEPENDENCIES
------------------------
error: A required dependency 'libusb (libusb - USB library)' is still missing.
error: Installation cannot continue without this dependency.
error: Please manually install this dependency and re-run this installer.

But libusb is already installed:
$ dpkg -l|grep libusb
ii libusb-0.1-4 2:0.1.12-8 userspace USB programming library
ii libusb-dev 2:0.1.12-8 userspace USB programming library developmen

Any suggestions on how to get my HP LaserJet Pro 400 M401dn to work on Ubuntu 8.04?

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
Amarnath Chitumalla (amarnath-chitumalla) said :
#1

Hi Jan Gran,

hplip-3.12.10 check for libusb-1.0 instead of libusb-0.1. please follow below steps for libusb-0.1
$ cd ~/Downloads/hplip-3.12.10 (assuming hplip-3.12.10.run is downloaded in ~/Downloads folder)

--> if 32 bit system
$ ./configure --prefix=/usr --enable-libusb01_build

--> if 64 bit system
$ ./configure --prefix=/usr --libdir=/usr/lib64 --enable-libusb01_build

$make
$sudo make install

Thanks & Regards,
Amarnath

Revision history for this message
Jan Gran (jan-gran) said :
#2

Thanks, this is a 32 bit system so I ran:
$ ./configure --prefix=/usr --enable-libusb01_build
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking whether the C++ compiler works... yes
[...]
checking for policykit... no
checking for host machine platform... x86_32
checking for CRYPTO_free in -lcrypto... no
configure: error: cannot find net-snmp support (or --disable-network-build)

Any idea?

Revision history for this message
Ani Balakrishnan (anib) said :
#3

Hi,

Please follow the installation instructions given at http://hplipopensource.com/hplip-web/install/manual/distros/ubuntu.html
for configuration.

Thanks and Regards
Ani Balakrishnan

Can you help with this problem?

Provide an answer of your own, or ask Jan Gran for more information if necessary.

To post a message you must log in.