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

Bruce Sass bmsass at shaw.ca
Sat Jul 12 19:44:38 UTC 2008


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 at 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





More information about the Pkg-hpijs-devel mailing list