Issue 12176: Compiling Python 2.7.1 on Ubuntu 11.04 (Natty Narwhale) (original) (raw)

Created on 2011-05-25 16:17 by Pavel.Bogdanovic, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
patch_setup.py Pavel.Bogdanovic,2011-05-25 16:17
Messages (5)
msg136862 - (view) Author: Pavel Bogdanovic (Pavel.Bogdanovic) Date: 2011-05-25 16:17
Compiling of Python does end with an error. It has to do with changes in Ubuntu: https://wiki.ubuntu.com/MultiarchSpec I added one line after python's setup.py after line 351 add_dir_to_list(self.compiler.library_dirs, '/usr/lib/i386-linux-gnu') and it compiled. It might be archeticture-dependent. Perhaps it should account (/lib/i386-linux-gnu /lib/x86_64-linux-gnu /usr/lib/i386-linux-gnu /usr/lib/x86_64-linux-gnu)
msg136865 - (view) Author: Petri Lehtinen (petri.lehtinen) * (Python committer) Date: 2011-05-25 16:24
Are you on a 64-bit Ubuntu? Could you attach or copy/paste the error message?
msg136868 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2011-05-25 16:42
This should have been fixed in issue 11715. Could you try to build from a mercurial checkout?
msg136874 - (view) Author: Pavel Bogdanovic (Pavel.Bogdanovic) Date: 2011-05-25 17:10
yes, the patch mentioned in issue 11715 works. Sorry for crossposting the issue.
msg136876 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2011-05-25 17:19
Thanks for testing. I guess we can close this one then.
History
Date User Action Args
2022-04-11 14:57:17 admin set github: 56385
2011-05-25 17:19:46 skrah set status: open -> closedresolution: fixedmessages: + stage: resolved
2011-05-25 17:10:01 Pavel.Bogdanovic set messages: +
2011-05-25 16:42:56 skrah set nosy: + skrahmessages: +
2011-05-25 16:24:21 petri.lehtinen set nosy: + petri.lehtinenmessages: +
2011-05-25 16:17:57 Pavel.Bogdanovic create