[Pythonmac-SIG] timegm() C API causing extension-building probs - PLZ HELP!

Jason McVay jmcvay@bigfoot.com
Tue, 8 Dec 1998 19:00:33 -0500


hey all--

i don't quite know if this is a simple question or not, but alas i've
looked for an answer and couldn't find one, so i've decided to come to you
guys.

when i try to build lemberg's mxTextTools, mxTools, or mxDateTime
extensions, i always have compilation errors dealing with a variable that's
based on a file timegm.c

in the mxDateTime docs, lemberg warns  that "if you don't have the timegm()
C API on your platform, edit the Setup file accordingly; if you don't know,
try running make: the linker will tell you if it can't find the timegm
symbol. The next Python release (1.5.2) will do the needed checking for
you, until then you'll have to edit the file manually... "

ok, i admit that i'm new to this programming game, but what can i use in
lieu of unix-ie timegm.c?

thanks for any (directions to) answers...
jason

-----
For powerful, dynamic OO programming,
go to http://www.python.org
Python Rules!