Re: Bug#585627: hplip: Error with hpmudext module : hp-* dont works
On 06/20/2010 06:42 AM, Mark Purcell wrote:
> We have pyversions and are using python-support, but still are not getting what we need.
I can't see where you're building the files for all Python versions...
> If we build the hplip package with python2.5 installed, then it places the modules under /usr/lib/python2.5/site-packages:
> http://packages.debian.org/sid/ia64/hplip/filelist
>
> If we build the hplip package with python2.6 installed then it places the modules under /usr/lib/python2.6/dist-packages:
> http://packages.debian.org/sid/i386/hplip/filelist
Thats right, the location for those files changed from 2.5 to 2.6.
> The python2.5 built packages (/usr/lib/python2.5/site-packages) do not work if python2.6 is installed, as it cannot locate the correct modules.. :-(
Python 2.6 does nto search in the 2.5 directory obviously - but you're using a
private module directory anyway (/usr/share/hplip) - so I can't see the issue
why it can't find the modules.
Also I'm wondering if you need to rebuild everything for each python version as
- on the first look - I didn't see any extension in the packages.
> So how do I force depends to be set to ensure the correct version of python is installed, or how to I ensure that either version of python will look in either location for the modules??
Both ways are wrong. python-support handles that for you (in case you're using
non-private module directories).
--
Bernd Zeimetz Debian GNU/Linux Developer
http://bzed.de http://www.debian.org
GPG Fingerprints: 06C8 C9A2 EAAD E37E 5B2C BE93 067A AD04 C93B FF79
ECA1 E3F2 8E11 2432 D485 DD95 EB36 171A 6FF9 435F
Reply to: