-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I'm getting productive with my new x86_64 box and noticed something... let's say "annoying" :) I have quite some python module packages around and when they only include ".py" files (and not ".so" files), I mark them as BuildArch:noarch Now I noticed while installing a python package (noarch) that it isn't found by python. The reason: as it's noarch, it's being installed in /usr/lib/python2.4 (having built it on an x86 box, and not an x86_64). But python only looks up its modules in /usr/lib64/python2.4 Does this mean that *all* python packages must be arch-specific, even when they're not (because they only include Python code and not native shared libs), just to have that path set correctly ? (that's a least what it looks like) cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v The more things change, the more they stay insane. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDpUyXr3NMWliFcXcRAp1BAJ9DtArUzz7Gf6k0Esr0DZrTzOhFwACfVAew 8ScMB+ffubF7IVVfwfyCQCQ= =RKkv -----END PGP SIGNATURE-----
On 2005-12-18 12:48:39 +0100, Pascal Bleser wrote:
I'm getting productive with my new x86_64 box and noticed something... let's say "annoying" :)
I have quite some python module packages around and when they only include ".py" files (and not ".so" files), I mark them as BuildArch:noarch
Now I noticed while installing a python package (noarch) that it isn't found by python.
The reason: as it's noarch, it's being installed in /usr/lib/python2.4 (having built it on an x86 box, and not an x86_64). But python only looks up its modules in /usr/lib64/python2.4
Does this mean that *all* python packages must be arch-specific, even when they're not (because they only include Python code and not native shared libs), just to have that path set correctly ? (that's a least what it looks like)
yes. i have the same problem with ruby. in ruby i could use /usr/lib all the time but the FHS denies it for me. ruby does /usr/lib/ruby/1.8/<somearch string> :) for now ruby/python modules are always arch dependent. darix
participants (2)
-
Marcus Rueckert
-
Pascal Bleser