HPLIP 3.12.2 error: Configure failed with error: python-devel not found

Bug #964666 reported by Ettore Atalan
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HPLIP
Invalid
Undecided
Unassigned

Bug Description

Hi

I tried to install the HPLIP 3.12.2 for my new HP Photosmart 5510 on Kubuntu 11.10, but the installation finally failed after automatic downloading of dependencies and conflict resolution.

The hplip-3.12.2.run shell script aborts with "error: Configure failed with error: python-devel not found"

Terminal Output:

$ sh hplip-3.12.2.run
Creating directory hplip-3.12.2
Verifying archive integrity... All good.
Uncompressing HPLIP 3.12.2 Self Extracting Archive...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

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

Copyright (c) 2011-14 Hewlett-Packard 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-25-Mar-2012_18:50:28.log

/
note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.

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) : a

Initializing. Please wait...
-Gtk-Message: Failed to load module "canberra-gtk-module"
Gtk-Message: Failed to load module "canberra-gtk-module"

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

DISTRO/OS CONFIRMATION
----------------------
Distro appears to be Ubuntu 11.10.

Is "Ubuntu 11.10" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y

ENTER USER PASSWORD
-------------------
Please enter the user (***)'s password:
Password accepted

INSTALLATION NOTES
------------------
Enable the universe/multiverse repositories. Also be sure you are using the Ubuntu "Main" Repositories. See: https://help.ubuntu.com/community/Repositories/Ubuntu for more information. Disable the CD-ROM/DVD source if you do not have the Ubuntu installation media inserted in the drive. During the install process you will be added to the lp and lpadmin group, please quit the installer before the setup stage, log out, log back in, and run hp-setup to complete the install.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

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

INSTALL MISSING REQUIRED DEPENDENCIES
-------------------------------------
warning: There are 7 missing REQUIRED dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency: gcc (gcc - GNU Project C and C++ Compiler)
warning: Missing REQUIRED dependency: make (make - GNU make utility to maintain groups of programs)
warning: Missing REQUIRED dependency: cups-devel (CUPS devel- Common Unix Printing System development files)
warning: Missing REQUIRED dependency: libusb (libusb - USB library)
warning: Missing REQUIRED dependency: libtool (libtool - Library building support services)
warning: Missing REQUIRED dependency: cups-image (CUPS image - CUPS image development files)
warning: Missing REQUIRED dependency: libjpeg (libjpeg - JPEG library)

INSTALL MISSING OPTIONAL DEPENDENCIES
-------------------------------------
warning: There are 5 missing OPTIONAL dependencies.
note: Installation of dependencies requires an active internet connection.
warning: Missing REQUIRED dependency for option 'network': libnetsnmp-devel (libnetsnmp-devel - SNMP networking library development files)
warning: Missing REQUIRED dependency for option 'fax': dbus (DBus - Message bus system)
warning: Missing REQUIRED dependency for option 'scan': sane-devel (SANE - Scanning library development files)
warning: Missing OPTIONAL dependency for option 'scan': xsane (xsane - Graphical scanner frontend for SANE)
warning: Missing OPTIONAL dependency for option 'base': cups-ddk (CUPS DDK - CUPS driver development kit)

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

RUNNING PRE-PACKAGE COMMANDS
----------------------------
sudo dpkg --configure -a (Pre-depend step 1)
sudo apt-get install --yes --force-yes -f (Pre-depend step 2)
sudo apt-get update (Pre-depend step 3)
OK

DEPENDENCY AND CONFLICT RESOLUTION
----------------------------------
Running 'sudo apt-get install --assume-yes build-essential'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes build-essential'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libcups2-dev'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-bsd'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups-client'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes libusb-dev'
Please wait, this may take several minutes...
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 libjpeg62-dev'
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 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 xsane'
Please wait, this may take several minutes...
Running 'sudo apt-get install --assume-yes cups'
Please wait, this may take several minutes...

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

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

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

BUILD AND INSTALL
-----------------
Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-udev-acl-rules --enable-qt4 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-foomatic-ppd-install --disable-hpijs-install --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build'
Please wait, this may take several minutes...
error: Configure failed with error: python-devel not found

Tags: python-devel
Revision history for this message
Ettore Atalan (atalanttore) wrote :
Revision history for this message
Ettore Atalan (atalanttore) wrote :

Installing a package called »python-dev« resolved the problem.

sudo apt-get install python-dev

Revision history for this message
goutam kodu (goutam-hplip) wrote :

Hi,

Auto installer of hplip-3.12.2 checks the dependencies missing and install them. For python-devel the installer installs the python-dev package. We have included this package in the hplip-3.12.2/installer/distro.dat file under the section [ubuntu:11.04]
[ubuntu:11.04:python-devel]
packages=python-dev

[Ubuntu:11.10] has the token same_as_version=11.04 which will pick the dependency package from [ubuntu:11.04]
 section.

Not sure what caused the missing of the python-dev package in the dependency installation.

I tried to reproduce the same on the fresh installation of ubunut 11.10 but could not reproduce it.

Marking this bug as invalid as we are not able to reproduce it.

Thanks,
Goutam Kodu

Changed in hplip:
status: New → Invalid
Revision history for this message
Ettore Atalan (atalanttore) wrote :

That's not the only mysterious error on my computer. I think my computer likes it ;)

Revision history for this message
Jaime Carpenter (j.carpenter) wrote :

I had the same "Configure failed with error: python-devel not found" problem using Ubuntu 10.04 LTS. I performed the apt-get install python-dev as suggested and it worked OK.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.