Linux driver not installing

Asked by Anwar Alias

I own a HP OfficeJet Pro L7580 and a linux box wih Ubuntu 10.10 installed. I've tried to install linux driver and get the following error

Creating directory hplip-3.10.9
Verifying archive integrity... All good.
Uncompressing HPLIP 3.10.9 Self Extracting Archive.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

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

Copyright (c) 2001-9 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_Thu-11-Nov-2010_23:46:03.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...

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

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

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

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

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: This installer cannot install 'gcc' for your distro/OS and/or version.
error: Installation cannot continue without this dependency. Please manually install this dependency and re-run this installer.

I'm a newbie at this linux thing, so how do I find out which are the required missing dependencies mentioned above?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Anwar Alias
Solved:
Last query:
Last reply:
Revision history for this message
José Lou Chang (obake) said :
#1

HPLIP is available at (K)Ubuntu's repository. You might want to install the version in the repository unless you have a good reason to install the new version from the website (e.g. new supported printer).

It says that "gcc" is not installed. So, that's the first thing we have to do, install gcc. :)

There are many ways to install a package.
In Ubuntu, you can open Synaptic package manager (Systems menu---->Administration--->Synaptic Package Manager)
and look for "gcc", it should give you many results. Select what you want to install and click on "APPLY"

In Kubuntu, you can open KPackageKit (K-menu--->Applications--->System--->KPackageKit)
Look for "gcc" (without quotes), select to install, and click on Apply.

If you want to use the Terminal (Applications menu----->Accessories--->Terminal)
type:
sudo apt-get install gcc

For more information on how to install applications or packages in (K/X)Ubuntu visit:
http://www.psychocats.net/ubuntu/installingsoftware

We have also created an Ubuntu Manual:

http://ubuntu-manual.org/

Hope that helps you.

Revision history for this message
Anwar Alias (anwar-alias) said :
#2

Thanks for the quick reply.

I tried

sudo apt-get install gcc

and got this

Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I decided to take your advice and install from Ubuntu Software Centre. It works, but the hplip version is 3.10.6 . I suspect there are problems with the latest hplip-3.10.9 . Do I have to send a bug report to them?

Consider the problem resolved.

Revision history for this message
José Lou Chang (obake) said :
#3

You do not need to make a bug report for hplip 3.10.9. It most likely did not install because it did not find a specific version of gcc. If you open Synaptic Package Manager and search for gcc, you will find that there are many version available for download.

If your printer works with the current installed hplip, then everything is all right.

About bug reports:

For any applications, It is best to post what you think to be a bug to answers.launchpad.net or at ubuntuforums.org so that people can write their input. If there are people who can confirm the error, then we can be almost be sure that it is a bug. And then you/we could post a bug report.
This is so that we could eliminate the possibility of being a user or configuration error. (This way people can help you solve the problem as well)

cheers!