Created attachment 456195 [details] Missing header file Description of problem: pyconfig.h from python26-devel is hacked to include either pyconfig-32.h or pyconfig-64.h depending on target arch (original Python distribution uses single pyconfig.h and does not provide multilib functionality) But needed pyconfig-{arch}.h files are provided by python26 package, and i386 version of this package is not available for x86_64. In attachment you will find missing pyconfig-32.h generated by Python configurator from original source distribution of Python 2.6.5. I suggest to include it into python26-devel-2.6.5-5.el5.i386
I'm sorry, I don't think I understand this bug report. python26-devel contains /usr/include/python2.6/pyconfig.h python26.i386 contains /usr/include/python2.6/pyconfig-32.h python26.x86_64 contains /usr/include/python2.6/pyconfig-64.h What is the problem here? Is there something on x86_64 that ends up needing /usr/include/python2.6/pyconfig-32.h ?
Surely. Compilation of 32-bit software which depends on Python libraries
I've enabled EPEL on x86_64 but `yum list python26*` shows only the next packages: python26.x86_64 python26-devel.i386 python26-devel.x86_64 python26-libs.i386 python26-libs.x86_64 python26-dirq.noarch python26-distribute.noarch python26-gdata.noarch python26-greenlet.x86_64 python26-greenlet-devel.i386 python26-greenlet-devel.x86_64 python26-simplejson.x86_64 python26-sqlalchemy.noarch python26-test.x86_64 python26-tools.x86_64
If you need more details, I was building Boost 1.44 and pyconfig-32.h is required for Boost.Python module
Are you building with "-m32" on the gcc command line, rather than "-m64"?
Of course. I've built both versions using SRPM from Fedora, 64-bit compiled out of the box, 32-bit only when I've added this pyconfig-32.h, generated by Python configurator
Does installing python26.i386 on the box as well fix it? That rpm contains the correct version of /usr/include/python2.6/pyconfig-32.h
1. Python interpreter is not needed for compilation of Boost.Python 2. My yum have not found python26.i386 in EPEL (see list of available packages above)
The core "python26" package currently contains rather more than just /usr/bin/python: it also contains the standard libraries. I recently changed Fedora's python so that the core package just contains /usr/bin/python (and a few related items), moving the standard libraries to python-libs: http://pkgs.fedoraproject.org/gitweb/?p=python.git;a=commitdiff;h=2ec5b35c5f46414d8bb1eb5874e3f788967d76e3 Perhaps we should make an analogous change to python26 in EPEL5. That would place the headers into python26-libs, which according to comment #3 are available I'm wondering right now how the repo manifest is generated; why is python26.i386 not in the repo, whereas python26-libs.i386 is?
(See also bug 649901)
Fedora EPEL 5 changed to end-of-life (EOL) status on 2017-03-31. Fedora EPEL 5 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora or Fedora EPEL, please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed.