[Python-bugs-list] [ python-Bugs-595766 ] timemodule doesn't build on solaris 8

noreply@sourceforge.net noreply@sourceforge.net
Thu, 15 Aug 2002 23:14:31 -0700


Bugs item #595766, was opened at 2002-08-16 00:21
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=595766&group_id=5470

Category: Build
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Martin v. Löwis (loewis)
Summary: timemodule doesn't build on solaris 8

Initial Comment:
altzone is only defined if _XOPEN_SOURCE is *not*
defined (for STDC) in <time.h>.  The autoconf test for
altzone, doesn't use _XOPEN_SOURCE, so HAVE_ALTZONE is
defined.  But timemodule can't build because
_XOPEN_SOURCE is always defined in pyconfig.h before
including /usr/include/time.h.

I'm not sure how this should be fixed.  Martin, I think
you were involved with the _XOPEN_SOURCE thread.  Does
this work for you on Solaris8?  Are there OS patches
which are necessary (ie, bug in the header files)?

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2002-08-16 08:14

Message:
Logged In: YES 
user_id=21627

It works fine for me. Why do you say that the test for
altzone doesn't use _XOPEN_SOURCE? It certainly does, by
means of

AC_DEFINE(_XOPEN_SOURCE, 500)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=595766&group_id=5470