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 ot
Recipients ot
Date 2008-11-20.17:44:59
SpamBayes Score 5.2724733e-08
Marked as misclassified No
Message-id <1227203100.95.0.318644888004.issue4369@psf.upfronthosting.co.za>
In-reply-to
Content
Hi all,
I am trying to compile python 2.6 using a user directory as prefix. In
the the byte-compiling step of install, compileall.py fails to load all
the .so modules (it fails for zlib.so and raises an exception for
unicodedata.so), so the build fails. I think it is because python is
invoked by the makefile with the env variables

	PYTHONPATH=$(DESTDIR)$(LIBDEST)

while the .so are in $(LIBDEST)/lib-dynload .

Setting PYTHONHOME instead of PYTHONPATH works for me (but i do not know
if it breaks anything else):

	PYTHONHOME=$(exec_prefix)

The patch is attached.
History
Date User Action Args
2008-11-20 17:45:01otsetrecipients: + ot
2008-11-20 17:45:00otsetmessageid: <1227203100.95.0.318644888004.issue4369@psf.upfronthosting.co.za>
2008-11-20 17:45:00otlinkissue4369 messages
2008-11-20 17:45:00otcreate