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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

Reply via email to