[Pythonmac-SIG] Compiling Python 2.3.4 on OSX
Jack Jansen
Jack.Jansen at cwi.nl
Sun Oct 24 21:39:01 CEST 2004
On 24 Oct 2004, at 05:35, Zachery Corbiere wrote:
> In trying to compile my own Python 2.3.4 on OSX (non-framework build)
> I failed with numerous errors around 'stat.h'. I did the standard
> ./configure...make routine, with my own custom prefix.
>
> I hacked around it by commenting out the following lines in
> Mac/Include/pyconfig.h
> /*
> #ifndef USE_GUSI
> #define DONT_HAVE_SYS_TYPES_H
> #define DONT_HAVE_SYS_STAT_H
> #define HAVE_STAT_H
> #endif
> */
Mac/Include/pyconfig.h is for MacPython-OS9, not for MacPython-OSX. I'm
not sure why it has (erroneously) picked it up for you.
What is the exact configure invocation you used?
--
Jack Jansen, <Jack.Jansen at cwi.nl>, http://www.cwi.nl/~jack
If I can't dance I don't want to be part of your revolution -- Emma
Goldman
More information about the Pythonmac-SIG
mailing list