[New-bugs-announce] [issue4369] Error building to a nonstandard prefix (with patch)
Giuseppe Ottaviano
report at bugs.python.org
Thu Nov 20 18:45:00 CET 2008
New submission from Giuseppe Ottaviano <giuott at gmail.com>:
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.
----------
components: Build
files: make.patch
keywords: patch
messages: 76120
nosy: ot
severity: normal
status: open
title: Error building to a nonstandard prefix (with patch)
type: compile error
versions: Python 2.6
Added file: http://bugs.python.org/file12076/make.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4369>
_______________________________________
More information about the New-bugs-announce
mailing list