[New-bugs-announce] [issue12176] Compiling Python 2.7.1 on Ubuntu 11.04 (Natty Narwhale)

Pavel Bogdanovic report at bugs.python.org
Wed May 25 18:17:58 CEST 2011


New submission from Pavel Bogdanovic <pabo3000 at googlemail.com>:

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)

----------
components: Build
files: patch_setup.py
messages: 136862
nosy: Pavel.Bogdanovic
priority: normal
severity: normal
status: open
title: Compiling Python 2.7.1 on Ubuntu 11.04 (Natty Narwhale)
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file22111/patch_setup.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12176>
_______________________________________


More information about the New-bugs-announce mailing list