[Pythonmac-SIG] (no subject)
Joshua Boverhof
jrboverhof at lbl.gov
Thu Sep 28 07:55:49 CEST 2006
4Suite-XML-1.0rc4 failed to build with python2.5 on my mac OSX
10.4.7, which I installed using universal python-2.5-macosx.dmg.
I was getting this error:
Ft/Xml/src/expat/lib/xmlparse.c:20: error: conflicting types for
'uintptr_t'
/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stdint.h:83: error:
previous declaration of 'uintptr_t' was here
To get this to work I just added this to "pyconfig.h"
#define HAVE_UINTPTR_T 1
From /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/include/stdint.h
#ifndef _UINTPTR_T
#define _UINTPTR_T
typedef unsigned long uintptr_t;
#endif /* _UINTPTR_T */
From Ft/Xml/src/expat/lib/xmlparse.c
18 #ifndef HAVE_UINTPTR_T
19 #if SIZEOF_VOID_P <= SIZEOF_INT
20 typedef unsigned int uintptr_t;
It appears like the problem is with the python2.5 installation,
anybody else have this problem?
-josh
More information about the Pythonmac-SIG
mailing list