homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author soundmurderer
Recipients matejcik, nijel, rothrock, rpetrov, sergiodj, soundmurderer, spektrum
Date 2009年05月19日.05:42:42
SpamBayes Score 8.98858e-09
Marked as misclassified No
Message-id <1242711821.07.0.540936295589.issue858809@psf.upfronthosting.co.za>
In-reply-to
Content
OK, I am now convinced that even with this patch, the Python build
process still won't work correctly because --libdir (post-patch) will
not correctly set the default PYTHONHOME. Moreover, the very way that
PYTHONHOME gets used needs to change. PYTHONHOME specifies "prefix"
and/or "exec_prefix", but the problem is that to find the lib dir,
Python tacks "lib/pythonX.X" onto the ends of these paths! More info here:
http://docs.python.org/using/unix.html#python-related-paths-and-files
http://docs.python.org/using/cmdline.html#envvar-PYTHONHOME
So, even with this patch, I still can't install, for example, to:
/home/soundmurderer/lib/x86_64/python2.6
I am forced to install to a location that ends with "lib/python2.6", e.g.:
/home/soundmurderer/x86_64/lib/python2.6
or else hack some stuff together with symlinks to make PYTHONHOME go to
the right place.
This seems to be a problem more fundamental than just incomplete
"./configure" in the build process and I think it warrants another
ticket, which I'm about to open.
Now, in regards to --libdir, even though the patch makes the
installation put the files in the expected location, Python will
probably not find it.
History
Date User Action Args
2009年05月19日 05:43:48soundmurderersetrecipients: + soundmurderer, nijel, spektrum, matejcik, sergiodj, rpetrov, rothrock
2009年05月19日 05:43:41soundmurderersetmessageid: <1242711821.07.0.540936295589.issue858809@psf.upfronthosting.co.za>
2009年05月19日 05:43:33soundmurdererlinkissue858809 messages
2009年05月19日 05:43:15soundmurderercreate

AltStyle によって変換されたページ (->オリジナル) /