[issue9762] PEP 3149 related build failures
Stephen M McQuay added the comment: I cobbled together a mix of what I found here: http://ubuntuforums.org/showthread.php?t=1976837 http://blog.schmichael.com/2012/05/29/building-python-2-6-8-on-ubuntu-12-04/ and got python 2.6 to build fine on modern Ubuntu : % python -mplatform Linux-3.2.0-29-generic-x86_64-with-Ubuntu-12.04-precise -- hgrepos: +146 keywords: +patch nosy: +stephen.mcquay Added file: http://bugs.python.org/file26938/py26-fix.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9762] PEP 3149 related build failures
Senthil Kumaran sent...@uthcode.com added the comment: Hi Barry, I stumbled upon this bug when trying to compile Python2.6 from source on Ubuntu 11.10. If this bug report or the related one issue11715 is a problem due to Ubuntu changes, I think, it is good inform in the download or news page. People try previous stable versions just to ensure that things are working fine. In this case, 2.7.x series work but 2.6.xx do not (I am not sure from which xx it started breaking). Thanks, Senthil -- nosy: +orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9762] PEP 3149 related build failures
Barry A. Warsaw ba...@python.org added the comment: On Apr 17, 2012, at 01:56 PM, Senthil Kumaran wrote: I stumbled upon this bug when trying to compile Python2.6 from source on Ubuntu 11.10. If this bug report or the related one issue11715 is a problem due to Ubuntu changes, I think, it is good inform in the download or news page. People try previous stable versions just to ensure that things are working fine. In this case, 2.7.x series work but 2.6.xx do not (I am not sure from which xx it started breaking). Hi Senthil. I added a note to the 2.6.8 download page and will carry this forward to future point releases should there be any. I also updated the title for this issue to better reflect the actual problem. -- title: Multiarch related build failures on Ubuntu = 11.04 - PEP 3149 related build failures ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9762] PEP 3149 related build failures
Jan Groenewald jan.groenew...@gmail.com added the comment: I am trying to build www.sagemath.org on ubuntu 10.04 natty beta 2 for amd64. Bear with me. Sage includes a patched version of python2.6.4, and it fails to build modules nis and crypt. Upstream python 2.6.4, 2.6.6, and 2.7.1 fail to build with the same error with ./configure, make, as per the README. The patch proposed is for setup.py, which is not used here? Ubuntu has a packaged python 2.6.6 and 2.7.1 (default) which I assume is patched, and builds on their toolchain. -- nosy: +Jan.Groenewald versions: +Python 2.6 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9762] PEP 3149 related build failures
Jan Groenewald jan.groenew...@gmail.com added the comment: Oops, correction. Ubuntu 11.04 beta 2 for amd64. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9762] PEP 3149 related build failures
Barry A. Warsaw ba...@python.org added the comment: On Apr 17, 2011, at 01:46 PM, Jan Groenewald wrote: Jan Groenewald jan.groenew...@gmail.com added the comment: I am trying to build www.sagemath.org on ubuntu 10.04 natty beta 2 for amd64. Bear with me. As described in your follow up, the problem is really on 11.04. Sage includes a patched version of python2.6.4, and it fails to build modules nis and crypt. Upstream python 2.6.4, 2.6.6, and 2.7.1 fail to build with the same error with ./configure, make, as per the README. The patch proposed is for setup.py, which is not used here? Ubuntu has a packaged python 2.6.6 and 2.7.1 (default) which I assume is patched, and builds on their toolchain. This is not related to PEP 3149 failures. Ubuntu 11.04 introduced multiarch directories for the underlying shared libraries used to link to the Python extension modules. Unpatched, Python's setup.py does not add the necessary multiarch directories to the search paths, so some extensions won't build. Ubuntu 11.04's Python packages have been patched to add the correct search paths. Upstream Python 2.7, 3.1, 3.2, and 3.3 have also been patched to include the correct search paths, but fixed versions have not been released upstream yet. Python 2.6 won't be patched. See issue 11715 for details. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue9762] PEP 3149 related build failures
Barry A. Warsaw ba...@python.org added the comment: Closing this because I can't think of anything better than your workaround (plus, I was apparently unable to reproduce it). -- resolution: - fixed status: open - closed title: build failures - PEP 3149 related build failures ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9762 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com