[Pythonmac-SIG] python2.5 error building 4Suite-1.0rc4
Joshua Boverhof
JRBoverhof at lbl.gov
Thu Sep 28 07:59:17 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2526 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20060927/e7a5a6da/attachment-0001.bin
More information about the Pythonmac-SIG
mailing list