Created on 2009-05-28 21:01 by r.david.murray, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (8) |
|
|
msg88476 - (view) |
Author: R. David Murray (r.david.murray) *  |
Date: 2009-05-28 21:01 |
With current trunk, after a make distclean; ./configure; make install sequence, I get the following error: [...] # Substitution happens here, as the completely-expanded BINDIR # is not available in configure sed -e "s,@EXENAME@,/usr/local/bin/python2.7," < ./Misc/python-config.in >python-config /usr/bin/install -c python-config /usr/local/bin/python2.7-config rm python-config ./python -E ./setup.py install \ --prefix=/usr/local \ --install-scripts=/usr/local/bin \ --install-platlib=/usr/local/lib/python2.7/lib-dynload \ --root=/ running install error: must supply either home or prefix/exec-prefix -- not both make: *** [sharedinstall] Error 1 |
|
|
msg88477 - (view) |
Author: Tarek Ziadé (tarek) *  |
Date: 2009-05-28 21:25 |
works for me under MacOS X, I am trying now under debian |
|
|
msg88478 - (view) |
Author: R. David Murray (r.david.murray) *  |
Date: 2009-05-28 21:34 |
Benjamin can't reproduce it either. Must be something weird in my environment, so I'm lowering the priority. |
|
|
msg88481 - (view) |
Author: Tarek Ziadé (tarek) *  |
Date: 2009-05-28 21:46 |
Ok. I confirm it works fine on a standard debian as well |
|
|
msg88482 - (view) |
Author: R. David Murray (r.david.murray) *  |
Date: 2009-05-28 21:48 |
I can see that 'self.home' is '~' when that error message is generated, but I can't figure out where self.home gets set. Any clues you can give me? |
|
|
msg88485 - (view) |
Author: R. David Murray (r.david.murray) *  |
Date: 2009-05-28 22:24 |
I figured it out. It turns out that a while back I created a .pydistutils.cfg file and put home in there. There is a bug here, of some sort. Either the .pydistutils.cfg file's install clause should override the default --prefix somehow, or the error message should indicate where the setting for 'home' and '--prefix' came from to enable the user to debug the configuration. In the latter case there would also need to be a way to explicitly tell either make install or configure to ignore .pydistutils.cfg. In the former case, an explicit --prefix passed to configure would need to override .pydistutils.cfg. Or perhaps there's some other solution I'm not seeing at the moment. |
|
|
msg121411 - (view) |
Author: Éric Araujo (eric.araujo) *  |
Date: 2010-11-18 01:58 |
See #4655. (Not sure which one is the superseder.) |
|
|
msg182482 - (view) |
Author: Ned Deily (ned.deily) *  |
Date: 2013-02-20 08:53 |
Let's consolidate these. |
|
|
History |
|
|
|
Date |
User |
Action |
Args |
2022-04-11 14:56:49 |
admin |
set |
github: 50388 |
2013-02-20 08:53:50 |
ned.deily |
set |
status: open -> closedsuperseder: during Python installation, setup.py should not use .pydistutils.cfgnosy: + ned.deilymessages: + resolution: duplicatestage: resolved |
2010-11-18 01:58:45 |
eric.araujo |
set |
nosy: + eric.araujomessages: + |
2009-05-28 22:24:31 |
r.david.murray |
set |
messages: + title: ./configure; make install fails in setup.py step -> './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home' |
2009-05-28 21:48:35 |
r.david.murray |
set |
messages: + |
2009-05-28 21:46:50 |
tarek |
set |
messages: + |
2009-05-28 21:34:36 |
r.david.murray |
set |
priority: release blocker -> normalmessages: + |
2009-05-28 21:25:30 |
tarek |
set |
messages: + |
2009-05-28 21:01:53 |
r.david.murray |
create |
|