Title: Error building to a nonstandard prefix (with patch)
Type: compile error Stage: resolved
Components: Build Versions: Python 2.6
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: Nosy List: ot, r.david.murray, rpetrov
Priority: normal Keywords: patch

Created on 2008-11-20 17:45 by ot, last changed 2010-12-22 03:32 by r.david.murray. This issue is now closed.

File name Uploaded Description Edit
make.patch ot, 2008-11-20 17:44
Messages (3)
msg76120 - (view) Author: Giuseppe Ottaviano (ot) Date: 2008-11-20 17:44
Hi all,
I am trying to compile python 2.6 using a user directory as prefix. In
the the byte-compiling step of install, fails to load all
the .so modules (it fails for and raises an exception for, so the build fails. I think it is because python is
invoked by the makefile with the env variables


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):


The patch is attached.
msg76140 - (view) Author: Roumen Petrov (rpetrov) * Date: 2008-11-20 21:05
No you can't remove $(DESTDIR)
msg124484 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2010-12-22 03:32
I'm not sure what "compiling using a user prefix" means.  I've certainly specified a prefix containing my home directory and had things work just fine.

There isn't enough information here to know what is actually going wrong.  Since this issue is two years old I'm guessing the OP has moved on I am going to close it.  

If you are still interested and want to provide more info, Guiseppe, please reopen the issue and do so.
Date User Action Args
2010-12-22 03:32:03r.david.murraysetstatus: open -> closed

nosy: + r.david.murray
messages: + msg124484

resolution: works for me
stage: resolved
2008-11-20 21:05:35rpetrovsetnosy: + rpetrov
messages: + msg76140
2008-11-20 17:45:00otcreate