Bug 120879

Summary: /usr/lib/python2.3/config/Makefile in wrong package, breaks distutils
Product: [Fedora] Fedora Reporter: Noa Resare <noa>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: katzj
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-15 08:52:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Noa Resare 2004-04-14 19:59:33 UTC
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):
python-2.3.3-3

How reproducible:
always

Steps to Reproduce:
1. verify that python-devel is not installed
2. try to install a package that that uses distutils, my example was
http://unc.dl.sourceforge.net/sourceforge/moin/moin-1.2.1.tar.gz
3. run 'python setup.py'

  
Actual results:
[noa@marit moin-1.2.1]$ python setup.py install --home=/opt/moin
--record=install.log
running install
error: invalid Python installation: unable to open
/usr/lib/python2.3/config/Makefile (No such file or directory)


Expected results:
successful installation

Additional info:

Comment 1 Mihai Ibanescu 2004-04-16 18:42:11 UTC
I remember seeing this too. Weird.

Comment 2 Mihai Ibanescu 2004-05-06 22:36:19 UTC
Should be fixed in 2.3.3-4

Comment 3 Noa Resare 2004-05-15 08:52:12 UTC
I can confirm this as fixed in python-2.3.3-6 from the devel tree