[ python-Bugs-1005568 ] _SC_PAGE_SIZE unknown on IRIX 5.3
SourceForge.net
noreply at sourceforge.net
Thu Aug 12 15:28:18 CEST 2004
Bugs item #1005568, was opened at 2004-08-08 19:58
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005568&group_id=5470
Category: Build
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Georg Schwarz (gschwarz)
Assigned to: Nobody/Anonymous (nobody)
Summary: _SC_PAGE_SIZE unknown on IRIX 5.3
Initial Comment:
Modules/resource.c expects _SC_PAGE_SIZE to be known if
HAVE_SYSCONF is defined. IRIX 5.3 however knows only
_SC_PAGESIZE (defined in unistd.h), not _SC_PAGE_SIZE,
so compilation (as part of make test) fails.
I would assume that some file in Lib/plat-irix5 should
get a similar definition as in the case of Lib/plat-
unixware7 or Lib/plat-sunos5, maybe.
Alternatively adding the following to Modules/resource.c
might help:
#ifndef _SC_PAGE_SIZE
#define _SC_PAGE_SIZE _SC_PAGESIZE
#endif
(this assumes of course that at least _SC_PAGESIZE is
defined)
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2004-08-12 15:28
Message:
Logged In: YES
user_id=21627
This should be fixed now in resource.c 2.31.10.1 and 2.32,
NEWS 1.831.4.138. The fix is similar to yours: I explicitly
duplicate the sysconf call.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1005568&group_id=5470
More information about the Python-bugs-list
mailing list