Bug 120879 - /usr/lib/python2.3/config/Makefile in wrong package, breaks distutils
Summary: /usr/lib/python2.3/config/Makefile in wrong package, breaks distutils
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-14 19:59 UTC by Noa Resare
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-05-15 08:52:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.