[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#483843: [Pkg-hpijs-devel] Bug#483843: still fails to find SIP with hplip 2.8.6



Bruce,

Agreed. 

Thanks for your assistance with this (and other) report.

Mark

-original message-
Subject: [Pkg-hpijs-devel] Bug#483843: still fails to find SIP with	hplip 2.8.6
From: Bruce Sass <bmsass@shaw.ca>
Date: 13/07/2008 08:01

On Sat July 12 2008 05:27:52 am Mark Purcell wrote:
> Arthur,
>
> Thanks for the update. I haven't had a detailed look into hp-check
> but I suspect it doesn't check in a way compatible with the way
> Debian has set things up.
>
> However at this stage I think it is diagnostic only and doesn't
> actually effect the operation of hplip.

I have looked into this...

Here is what hp-check does:
--- from check.py ---
    log.info()
    log.info(log.bold("Checking SIP version..."))

    sip_ver = None
    try:
        import pyqtconfig
    except ImportError:
        pass
    else:
        sip_ver = pyqtconfig.Configuration().sip_version_str

    if sip_ver is not None:
        log.info("OK, Version %s installed" % sip_ver)
    else:
        num_errors += 1
        log.error("SIP not installed or version not found.")
---

Here is where Debian keeps pyqtconfig:
---
bsass@onegee:~$ dpkg -S pyqtconfig
python-qt-dev: /usr/lib/python2.5/site-packages/pyqtconfig.py
python-qt-dev: /usr/lib/python2.4/site-packages/pyqtconfig.py
---

...so, installing python-qt-dev will make hp-check happy, but it seems a 
bit silly to have HPLIP depend in any way on that -dev package.

I have grep-ed through src/hplip-2.8.6 and the only places "sip" appears 
is in the check.py program and installer/distros.dat... I think it 
should be safe to comment out the sip test in check.py.


- Bruce



_______________________________________________
Pkg-hpijs-devel mailing list
Pkg-hpijs-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-hpijs-devel





Reply to: