Red Hat Bugzilla – Bug 120879
/usr/lib/python2.3/config/Makefile in wrong package, breaks distutils
Last modified: 2007-11-30 17:10:40 EST
Description of problem:
I'm having a dejavu about this, thinking i reported it and it was
fixed a long time ago. Oh well. Here goes.
The distutils functionality that many python programs depend on to
install correctly depends on the file
/usr/lib/python2.3/config/Makefile that currently resides in the
python-devel package together with stuff needed develop c-extensions
needed for python.
Please move /usr/lib/python2.3/config/Makefile into the main python
rpm. This has the nice bonus of avoiding unneeded newbie unfrendly
error messages when trying to install common programs.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. verify that python-devel is not installed
2. try to install a package that that uses distutils, my example was
3. run 'python setup.py'
[noa@marit moin-1.2.1]$ python setup.py install --home=/opt/moin
error: invalid Python installation: unable to open
/usr/lib/python2.3/config/Makefile (No such file or directory)
I remember seeing this too. Weird.
Should be fixed in 2.3.3-4
I can confirm this as fixed in python-2.3.3-6 from the devel tree