Bug 506153 - python2.5-config does not work w/o python-devel
python2.5-config does not work w/o python-devel
Product: Fedora
Classification: Fedora
Component: python (Show other bugs)
All Linux
medium Severity high
: ---
: ---
Assigned To: James Antill
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-06-15 14:49 EDT by Simo Sorce
Modified: 2009-07-04 17:51 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-07-04 17:37:09 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Simo Sorce 2009-06-15 14:49:34 EDT
/usr/bin/python2.5-config is in python-2.5.2-1.fc10.i386 but it appears to be totally broken if python-devel is not also installed:

traceback in that case:
# `/usr/bin/python2.5-config --cflags`
# Traceback (most recent call last):
#   File "/usr/bin/python2.5-config", line 26, in <module>
#     pyver = sysconfig.get_config_var('VERSION')
#   File "/usr/lib/python2.5/distutils/sysconfig.py", line 535, in get_config_var
#     return get_config_vars().get(name)
#   File "/usr/lib/python2.5/distutils/sysconfig.py", line 493, in get_config_vars
#     func()
#   File "/usr/lib/python2.5/distutils/sysconfig.py", line 352, in _init_posix
#     raise DistutilsPlatformError(my_msg)
# distutils.errors.DistutilsPlatformError: invalid Python installation: unable to open /usr/lib/python2.5/config/Makefile (No such file or directory)
Comment 1 Jonathan Steffan 2009-07-04 17:16:20 EDT
Moved to python-devel for all active branches. Waiting on builds.
Comment 3 Fedora Update System 2009-07-04 17:51:50 EDT
python-2.5.2-4.fc10 has been submitted as an update for Fedora 10.
Comment 4 Fedora Update System 2009-07-04 17:51:55 EDT
python-2.6-11.fc11 has been submitted as an update for Fedora 11.

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