[Pythonmac-SIG] python2.5 error building 4Suite-1.0rc4

Ronald Oussoren ronaldoussoren at mac.com
Thu Sep 28 09:51:45 CEST 2006


 
On Thursday, September 28, 2006, at 08:09AM, Joshua Boverhof <JRBoverhof at lbl.gov> wrote:

>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?
>

HAVE_UINT_PTR is also not defined on my system, could you please file a bug at pythons bugtracker to ensure that I don't forget to fix this?

Ronald

>-josh
>_______________________________________________
>Pythonmac-SIG maillist  -  Pythonmac-SIG at python.org
>http://mail.python.org/mailman/listinfo/pythonmac-sig
>
>


More information about the Pythonmac-SIG mailing list