Can't satisfy dependencies for hplip-2.7.10

Asked by Paul Murtaugh

I am trying to install hplip-2.7.10 under RHEL 4 (64 bit), for use with my HP Photosmart C4180 printer. When I run 'hp-check check.py', there is an error saying PyQt Ver 3.14 or higher is needed (I have PyQt-3.13-1). When I try to install 'PyQt-3.14.1-1.x86_64.rpm', I'm told I need Python Version 2.4 or greater (I have python-2.3.4-14.4). From what I've read, it's not a good idea for me to try to update python.

I read somewhere that the printer function(s) requiring PyQt are optional, but it seems I can't install 'hplip' without it. When I run 'hp-setup', I get an error about the incorrect version of PyQt, and the program hangs with the message

  Traceback (most recent call last):
    File "/usr/share/hplip/hpssd.py", line 56, in ?
      import subprocess, threading, tempfile
  ImportError: No module named subprocess

Can anyone help?

Thanks in advance
-Paul

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
Aaron Albright (albrigha-deactivatedaccount) said :
#1

Installing on RHEL AS 4.0 can work..although it can be a struggle. I've created some docs here;

http://hplip.sourceforge.net/install/manual/distros/redhatenterprise.html

but they may be outdated and I'll be working on updating them coming soon.

Although you could try the server install:

http://hplip.sourceforge.net/tech_docs/tarball_install.html

And look under the section "HPIJS Portability Reference".

Hope this helps..

A

Revision history for this message
Paul Murtaugh (murtaugh) said :
#2

Hi Aaron,

Thanks for your prompt response. Buoyed by your comments, and by the
statement on the installation pages that 'This process has been tested
on RHEL AS 4.0', I have spent an enormous amount of time trying to
install hplip on my RHEL 4 box, without success. If/when you ever update
these pages, I'd love to see what I'm doing wrong. It would be really
helpful to know exactly what versions of the various programs are
required for installation --- the information posted at
http://hplip.sourceforge.net/system_requirements.html isn't accurate
(e.g., Python 2.4 is needed if PyQt 3.14 is to be installed).

Here are the details of what I've tried, fyi.

As stated in the notes at the http://hplip.sourceforge.net, installation
of hplip is impossible without version 3.14 of PyQt (the RH4 version is
3.13). Installation of PyQt-3.14 requires version 2.4 of Python (the RH
4 version is 2.3.4).

So, I did an altinstall of Python 2.4.4 from source, creating
/usr/local/bin/python2.4. Attempts to install PyQt-3.14 using
'./configure --with-python=/usr/local/bin/python2.4 etc.' failed
because there was 'No module named sipconfig'. I then tried to install
a more recent version of sip (RH4 has sip-4.1-1), using 'python2.4
configure.py'. This led to an error about the TMAKEPATH environment not
being set. Since 'tmake' was not installed, I installed it, and numerous
errors about absent or incorrectly located configuration files ensued.

So I am no closer to having hplip installed than I was ten hours of
keyboard time ago!

-Paul

Aaron Albright wrote:
> Your question #17993 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/17993
>
> Status: Open => Answered
>
> Aaron Albright proposed the following answer:
> Installing on RHEL AS 4.0 can work..although it can be a struggle. I've
> created some docs here;
>
> http://hplip.sourceforge.net/install/manual/distros/redhatenterprise.html
>
> but they may be outdated and I'll be working on updating them coming
> soon.
>
> Although you could try the server install:
>
> http://hplip.sourceforge.net/tech_docs/tarball_install.html
>
> And look under the section "HPIJS Portability Reference".
>
> Hope this helps..
>
> A
>
>

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

Sorry about your experience. I'll need to do some further testing with RHEL. Although for now you should be able to do the server install of hplip using the docs here:

http://hplip.sourceforge.net/tech_docs/tarball_install.html

Under 'HPIJS Portability Reference'.

This will give you direction on installing without the gui interface. You'll loose hp-toolbox and other gui features but I hope it will help to get you printing for now.

A

Can you help with this problem?

Provide an answer of your own, or ask Paul Murtaugh for more information if necessary.

To post a message you must log in.