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

Uche Ogbuji uche at ogbuji.net
Thu Sep 28 08:34:58 CEST 2006


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

Yes.  This was reported and we put a workaround in recently.  Try a
recent 4Suite CVS snapshot.


-- 
Uche Ogbuji                               Fourthought, Inc.
http://uche.ogbuji.net                    http://fourthought.com
http://copia.ogbuji.net                   http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/


More information about the Pythonmac-SIG mailing list