Message76120
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. |
|
Date |
User |
Action |
Args |
2008-11-20 17:45:01 | ot | set | recipients:
+ ot |
2008-11-20 17:45:00 | ot | set | messageid: <1227203100.95.0.318644888004.issue4369@psf.upfronthosting.co.za> |
2008-11-20 17:45:00 | ot | link | issue4369 messages |
2008-11-20 17:45:00 | ot | create | |
|