[issue6138] './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home'

R. David Murray report at bugs.python.org
Fri May 29 00:24:32 CEST 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

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.

----------
title: ./configure; make install fails in setup.py step -> './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home'

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6138>
_______________________________________


More information about the Python-bugs-list mailing list