From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5)
Description of problem:
Python's distutils package reports the incorrect path for the location
of the usable python packages. On x86_64 the location of these files
is /usr/lib64/python2.2 however Python itself reports that its files
should be in /usr/lib/python2.2.
Note: I am not a Python developer so I may be using terms incorrectly.
I ran into the problem while trying to build PostgreSQL 7.4.6.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Python 2.2.3 (#1, Oct 26 2004, 17:14:26)
[GCC 3.2.3 20030502 (Red Hat Linux 3.2.3-47)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from distutils import sysconfig
>>> print sysconfig.get_config_vars('LIBDEST')
Actual Results: ['/usr/lib/python2.2']
Expected Results: ['/usr/lib64/python2.2']
The compilation of PostgreSQL fails because it cannot find the
proper location for the files it needs to build the python
*** Bug 180023 has been marked as a duplicate of this bug. ***
Committed a fix and building as python-2.2.3-6.6
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.