[issue6138] './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home'
Ned Deily added the comment: Let's consolidate these. -- nosy: +ned.deily resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - during Python installation, setup.py should not use .pydistutils.cfg ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6138] './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home'
Éric Araujo mer...@netwok.org added the comment: See #4655. (Not sure which one is the superseder.) -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6138] ./configure; make install fails in setup.py step
New submission from R. David Murray rdmur...@bitdance.com: 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 -- messages: 88476 nosy: r.david.murray, tarek priority: release blocker severity: normal status: open title: ./configure; make install fails in setup.py step type: compile error versions: Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6138] ./configure; make install fails in setup.py step
Tarek Ziadé ziade.ta...@gmail.com added the comment: works for me under MacOS X, I am trying now under debian -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6138] ./configure; make install fails in setup.py step
R. David Murray rdmur...@bitdance.com added the comment: Benjamin can't reproduce it either. Must be something weird in my environment, so I'm lowering the priority. -- priority: release blocker - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6138] ./configure; make install fails in setup.py step
Tarek Ziadé ziade.ta...@gmail.com added the comment: Ok. I confirm it works fine on a standard debian as well -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6138] './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home'
R. David Murray rdmur...@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 rep...@bugs.python.org http://bugs.python.org/issue6138 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com