This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Compiling Python 2.7.1 on Ubuntu 11.04 (Natty Narwhale)
Type: compile error Stage: resolved
Components: Build Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Pavel.Bogdanovic, petri.lehtinen, skrah
Priority: normal Keywords:

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:17adminsetgithub: 56385
2011-05-25 17:19:46skrahsetstatus: open -> closed
resolution: fixed
messages: + msg136876

stage: resolved
2011-05-25 17:10:01Pavel.Bogdanovicsetmessages: + msg136874
2011-05-25 16:42:56skrahsetnosy: + skrah
messages: + msg136868
2011-05-25 16:24:21petri.lehtinensetnosy: + petri.lehtinen
messages: + msg136865
2011-05-25 16:17:57Pavel.Bogdanoviccreate