[issue8067] OS X Installer: build errors on 10.6 when targeting 10.4 and earlier

Ned Deily report at bugs.python.org
Fri Mar 5 12:02:57 CET 2010


New submission from Ned Deily <nad at acm.org>:

When building on 10.6 with a deployment target of 10.3 or 10.4,
various build errors occur, like:
    warning: 'struct winsize' declared inside parameter list
    error: 'struct rusage' has no member named 'ru_maxrss'

The problem is a test in configure.in that isn't prepared to handle
a two-digit Darwin kernel version: OS X 10.6 is Darwin 10.  The
patches backport the fix from trunk(2.7) to 2.6, 3.1, and py3k(3.2).
(As usual, autoconf needs to be run after applying to update configure.)

----------
assignee: ronaldoussoren
components: Macintosh
files: issue-sl-configure-26.txt
messages: 100465
nosy: ned.deily, ronaldoussoren
severity: normal
status: open
title: OS X Installer: build errors on 10.6 when targeting 10.4 and earlier
type: compile error
versions: Python 2.6, Python 3.1, Python 3.2
Added file: http://bugs.python.org/file16451/issue-sl-configure-26.txt

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


More information about the Python-bugs-list mailing list