Re-installation HPLIP fails

Asked by marteisele

When re-installing HPLIP then make always fails:
Running 'make'
Please wait, this may take several minutes...
error: 'make' command failed with status code 2

What's the problem here ?? Before the tool has deinstalled HPLIP.

2. my network printer 7210 was already detected before but then the GUI didn't go forward when selecting the PPD. What was wrong here ?

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
marteisele
Solved:
Last query:
Last reply:

This question was originally filed as bug #180776.

Revision history for this message
marteisele (martgusteisele) said :
#1

Importance high !!!

hplip is now completely deinstalled. On my Suse 10.3 'rpm -qa hplip' shows nothing.
So I'm blocked now completely and cannot connect any printer.

Why is command 'make' failing ? I think it's only for compilation ?

Thanks Martin

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#2

Go into the hplip source directory and run: (ie cd hplip-2.7.12)

make

then enter and post the error you are getting.

Also post the install log.

ls | grep log

and post the log with the latest date/time stamp.

Thanks!

A

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#3

Changing to a question.

A

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#4

Any update?

Thanks!

A

Revision history for this message
marteisele (martgusteisele) said :
#5

/usr/bin/sed: can't read /usr/lib/libgphoto2.la: No such file or directory
libtool: link: `/usr/lib/libgphoto2.la' is not a valid libtool archive
make: *** [libhpmud.la] Fehler 1

log file :

/usr/bin/sed: can't read /usr/lib/libgphoto2.la: No such file or directory
libtool: link: `/usr/lib/libgphoto2.la' is not a valid libtool archive
make: *** [cupsext.la] Fehler 1

error: 'make' command failed with status code 2

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#6

Are you trying to install using the automatic installer? It should work with Suse 10.3 and should install all of the dependencies, which you appear to be missing at least one.

Just download the automatic installer from our website: http://hplip.sf.net

And start it by running (As user): sh hplip-2.7.12.run

Hope this helps.

A

Revision history for this message
marteisele (martgusteisele) said :
#7

The same fault appears with automatic and with customized installation.
The first time it was okay. Now after deinstallation of hplip I cannot install it again.

Revision history for this message
marteisele (martgusteisele) said :
#8

Can I really install the complete hplip as normal user.
I received a lot of warnings and as I remember somewhere I had to use root.

Revision history for this message
John Hosszu (john-hosszu) said :
#9

in yast do a search for libgphoto2 and install the devel package. That should solve your make issue.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#10

Well you can run the installer as user because during the process it will automatically run any root commands as root. That's why we ask for the root password at the start of the automatic installer.

Can you post the installer log file? It's automatically created during the install process in the hplip source directory (which is created when you run sh hplip...)

Alternatively you could try using Johannes's suse rpm for hplip 2.7.10.

http://download.opensuse.org/repositories/home:/jsmeix/

The automatic installer has been tested many times on suse so I'm not sure how come you are having this problem. I'll need to look at the log file to give you better information.

A

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#11

Also if you are going to try either john's or mine suggestion make sure the CD repositories are disabled. The cd's are pretty limited on the packages and versions and can cause problems trying to install other applications. But the internet repo's should be enabled.

A

Revision history for this message
marteisele (martgusteisele) said :
#12

Exactly maybe that I have not done because I do not understand it.
How to make sure that the CD repositories are disabled ??

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#13

https://help.ubuntu.com/community/Repositories/Ubuntu

Under the heading:

Managing Local Repositories

All the best,
A

Revision history for this message
John Hosszu (john-hosszu) said :
#14

open YAST

Then goto Software --> Software Repositories

click on " openSUSE10.3-OSS-Gnome 10.3

Then uncheck the enabled check box

Then finish.

Revision history for this message
Aaron Albright (albrigha-deactivatedaccount) said :
#15

Yeah do John's suggestion. For some reason I thought you where using Ubuntu. Use the Yast method instead my bad.

A

Revision history for this message
marteisele (martgusteisele) said :
#16

I have loaded again this missing libphoto file and then I could install hplip and my printer completely.
It works now completely.
Thanks a lot for your help.