[XML-SIG] PyXML install problems on Mac OS X

Todd O'Bryan toddobryan at mac.com
Tue Apr 4 18:28:08 CEST 2006


I hope this is the right place to ask about this...

I have Mac OS X, 10.4.6 (updated this morning) with the new Python  
2.4.3 Universal Binary just released at python.org.

I'm trying to install PyXML, but having problems. It appears that,  
for some reason, gcc is not looking in /usr/include for header files.  
I've tried looking through setup.py to see what was going on, but I'm  
a Python newbie and just got lost in the code.

For reference, /usr/include/limits.h does exist, and which gcc  
produces /usr/bin/gcc which is a link to /usr/bin/gcc-4.0 which seems  
to be the binary.

Any ideas? Output of python setup.py build is given below.

Thanks,
Todd

running build
running build_py
running build_ext
building '_xmlplus.parsers.pyexpat' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk - 
fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd - 
fno-common -dynamic -DNDEBUG -g -DXML_NS=1 -DXML_DTD=1 - 
DBYTEORDER=4321 -DXML_CONTEXT_BYTES=1024 -DHAVE_MEMMOVE=1 - 
Iextensions/expat/lib -I/Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4 -c extensions/pyexpat.c -o build/ 
temp.macosx-10.4-fat-2.4/extensions/pyexpat.o
gcc: installation problem, cannot exec 'i686-apple-darwin8- 
gcc-4.0.0': No such file or directory
In file included from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:18:20: error: limits.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:21:2: error: #error "Something's broken.  UCHAR_MAX should  
be defined in limits.h."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:25:2: error: #error "Python's source code assumes C's  
unsigned char is an 8-bit type."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:32:19: error: stdio.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:34:5: error: #error "Python.h requires that stdio.h define  
NULL."
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:37:20: error: string.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:38:19: error: errno.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:39:20: error: stdlib.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:41:20: error: unistd.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:53:20: error: assert.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:55,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:90:76: error: math.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:97:22: error: sys/time.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:98:18: error: time.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:116:24: error: sys/select.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:155:22: error: sys/stat.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:395:21: error: termios.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:55,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:396: warning: 'struct winsize' declared inside parameter list
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:396: warning: its scope is only this definition or  
declaration, which is probably not what you want
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:396: warning: 'struct termios' declared inside parameter list
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:397: warning: 'struct winsize' declared inside parameter list
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyport.h:397: warning: 'struct termios' declared inside parameter list
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:74,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pymem.h:50: warning: parameter names (without types) in function  
declaration
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pymem.h:51: error: parse error before "size_t"
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:76,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
object.h:227: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
object.h:371: error: parse error before "FILE"
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:77,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
objimpl.h:97: warning: parameter names (without types) in function  
declaration
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
objimpl.h:98: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
objimpl.h:292: warning: parameter names (without types) in function  
declaration
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:81,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
unicodeobject.h:55:19: error: ctype.h: No such file or directory
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
unicodeobject.h:118:21: error: wchar.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:81,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
unicodeobject.h:511: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
unicodeobject.h:529: error: parse error before '*' token
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:84,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
longobject.h:63: error: parse error before "_PyLong_NumBits"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
longobject.h:63: warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
longobject.h:79: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
longobject.h:102: error: parse error before "size_t"
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:90,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
stringobject.h:10:20: error: stdarg.h: No such file or directory
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:90,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
stringobject.h:63: error: parse error before "va_list"
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:101,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:12: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:12: warning: no semicolon at end of struct or union
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:15: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:28: error: parse error before '}' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:28: warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:38: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:39: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:40: warning: data definition has no type or storage class
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:57: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:58: error: parse error before "Py_UniversalNewlineFread"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:58: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
fileobject.h:58: warning: data definition has no type or storage class
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:112,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyerrors.h:226: error: parse error before "size_t"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pyerrors.h:228: error: parse error before "size_t"
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:116,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
modsupport.h:20: error: parse error before "va_list"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
modsupport.h:22: error: parse error before "va_list"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
modsupport.h:23: error: parse error before "va_list"
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:117,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:32: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:33: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:35: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:36: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:40: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:41: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:42: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:43: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:44: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:45: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:46: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:49: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:55: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:59: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:60: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:64: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:66: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:82: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:123: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
pythonrun.h:125: error: parse error before '*' token
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:119,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
sysmodule.h:12: error: parse error before '*' token
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
sysmodule.h:12: error: parse error before "FILE"
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
sysmodule.h:12: warning: data definition has no type or storage class
In file included from /Library/Frameworks/Python.framework/Versions/ 
2.4/include/python2.4/Python.h:121,
                  from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
import.h:25: error: parse error before "size_t"
In file included from extensions/pyexpat.c:5:
/Library/Frameworks/Python.framework/Versions/2.4/include/python2.4/ 
Python.h:131: error: parse error before "size_t"
In file included from extensions/pyexpat.c:10:
extensions/expat/lib/expat.h:189: error: parse error before "size"
extensions/expat/lib/expat.h:190: error: parse error before "size_t"
extensions/expat/lib/expat.h:936: error: parse error before "size_t"
extensions/expat/lib/expat.h:939: error: parse error before "size_t"
extensions/pyexpat.c: In function 'set_error_attr':
extensions/pyexpat.c:112: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c:112: error: (Each undeclared identifier is  
reported only once
extensions/pyexpat.c:112: error: for each function it appears in.)
extensions/pyexpat.c: In function 'set_error':
extensions/pyexpat.c:134: warning: incompatible implicit declaration  
of built-in function 'sprintf'
extensions/pyexpat.c:138: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'have_handler':
extensions/pyexpat.c:151: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'get_handler_name':
extensions/pyexpat.c:158: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'conv_string_to_unicode':
extensions/pyexpat.c:177: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c:181: warning: incompatible implicit declaration  
of built-in function 'strlen'
extensions/pyexpat.c: In function 'conv_string_len_to_unicode':
extensions/pyexpat.c:190: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'conv_string_to_utf8':
extensions/pyexpat.c:207: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'conv_string_len_to_utf8':
extensions/pyexpat.c:220: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'getcode':
extensions/pyexpat.c:255: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'trace_frame':
extensions/pyexpat.c:310: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'trace_frame_exc':
extensions/pyexpat.c:337: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'call_with_frame':
extensions/pyexpat.c:375: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'string_intern':
extensions/pyexpat.c:431: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'call_character_handler':
extensions/pyexpat.c:448: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'flush_character_buffer':
extensions/pyexpat.c:482: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_CharacterDataHandler':
extensions/pyexpat.c:493: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c:510: warning: incompatible implicit declaration  
of built-in function 'memcpy'
extensions/pyexpat.c: In function 'my_StartElementHandler':
extensions/pyexpat.c:537: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_EndElementHandler':
extensions/pyexpat.c:636: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_ProcessingInstructionHandler':
extensions/pyexpat.c:640: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_UnparsedEntityDeclHandler':
extensions/pyexpat.c:646: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_EntityDeclHandler':
extensions/pyexpat.c:676: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_XmlDeclHandler':
extensions/pyexpat.c:696: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'conv_content_model':
extensions/pyexpat.c:709: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_ElementDeclHandler':
extensions/pyexpat.c:737: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_AttlistDeclHandler':
extensions/pyexpat.c:785: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_SkippedEntityHandler':
extensions/pyexpat.c:798: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_NotationDeclHandler':
extensions/pyexpat.c:806: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_StartNamespaceDeclHandler':
extensions/pyexpat.c:816: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_EndNamespaceDeclHandler':
extensions/pyexpat.c:823: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_CommentHandler':
extensions/pyexpat.c:828: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_StartCdataSectionHandler':
extensions/pyexpat.c:832: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_EndCdataSectionHandler':
extensions/pyexpat.c:836: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_DefaultHandler':
extensions/pyexpat.c:849: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_DefaultHandlerExpandHandler':
extensions/pyexpat.c:855: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_NotStandaloneHandler':
extensions/pyexpat.c:862: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_ExternalEntityRefHandler':
extensions/pyexpat.c:866: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_StartDoctypeDeclHandler':
extensions/pyexpat.c:881: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'my_EndDoctypeDeclHandler':
extensions/pyexpat.c:889: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'get_parse_result':
extensions/pyexpat.c:897: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'xmlparse_Parse':
extensions/pyexpat.c:920: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'readinst':
extensions/pyexpat.c:932: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c:970: warning: incompatible implicit declaration  
of built-in function 'memcpy'
extensions/pyexpat.c: In function 'xmlparse_ParseFile':
extensions/pyexpat.c:986: error: 'FILE' undeclared (first use in this  
function)
extensions/pyexpat.c:986: error: 'fp' undeclared (first use in this  
function)
extensions/pyexpat.c:987: error: 'NULL' undeclared (first use in this  
function)
extensions/pyexpat.c: In function 'xmlparse_SetBase':
extensions/pyexpat.c:1050: error: 'NULL' undeclared (first use in  
this function)
extensions/pyexpat.c: In function 'xmlparse_GetBase':
extensions/pyexpat.c:1066: error: 'NULL' undeclared (first use in  
this function)
extensions/pyexpat.c: In function 'xmlparse_GetInputContext':
extensions/pyexpat.c:1080: error: 'NULL' undeclared (first use in  
this function)
extensions/pyexpat.c: In function 'xmlparse_ExternalEntityParserCreate':
extensions/pyexpat.c:1112: error: 'NULL' undeclared (first use in  
this function)
extensions/pyexpat.c:1134: warning: incompatible implicit declaration  
of built-in function 'malloc'
extensions/pyexpat.c:1175: warning: incompatible implicit declaration  
of built-in function 'malloc'
extensions/pyexpat.c: In function 'xmlparse_SetParamEntityParsing':
extensions/pyexpat.c:1208: error: 'NULL' undeclared (first use in  
this function)
extensions/pyexpat.c: In function 'xmlparse_UseForeignDTD':
extensions/pyexpat.c:1226: error: 'NULL' undeclared (first use in  
this function)
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:1261: error: 'NULL' undeclared here (not in a  
function)
extensions/pyexpat.c:1261: error: initializer element is not constant
extensions/pyexpat.c:1261: error: (near initialization for  
'xmlparse_methods[8].ml_name')
extensions/pyexpat.c:1261: error: initializer element is not constant
extensions/pyexpat.c:1261: error: (near initialization for  
'xmlparse_methods[8].ml_meth')
extensions/pyexpat.c:1261: error: initializer element is not constant
extensions/pyexpat.c:1261: error: (near initialization for  
'xmlparse_methods[8]')
extensions/pyexpat.c: In function 'newxmlparseobject':
extensions/pyexpat.c:1377: warning: incompatible implicit declaration  
of built-in function 'malloc'
extensions/pyexpat.c: In function 'xmlparse_setattr':
extensions/pyexpat.c:1581: warning: incompatible implicit declaration  
of built-in function 'malloc'
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:1677: error: initializer element is not constant
extensions/pyexpat.c:1677: error: (near initialization for  
'Xmlparsetype.ob_type')
extensions/pyexpat.c: In function 'pyexpat_ParserCreate':
extensions/pyexpat.c:1728: error: initializer element is not constant
extensions/pyexpat.c:1728: error: (near initialization for 'kwlist[3]')
extensions/pyexpat.c:1734: warning: incompatible implicit declaration  
of built-in function 'strlen'
extensions/pyexpat.c: At top level:
extensions/pyexpat.c:1784: error: initializer element is not constant
extensions/pyexpat.c:1784: error: (near initialization for  
'pyexpat_methods[2].ml_name')
extensions/pyexpat.c:1784: error: initializer element is not constant
extensions/pyexpat.c:1784: error: (near initialization for  
'pyexpat_methods[2].ml_meth')
extensions/pyexpat.c:1784: error: initializer element is not constant
extensions/pyexpat.c:1784: error: (near initialization for  
'pyexpat_methods[2].ml_doc')
extensions/pyexpat.c:1784: error: initializer element is not constant
extensions/pyexpat.c:1784: error: (near initialization for  
'pyexpat_methods[2]')
extensions/pyexpat.c:2107: error: initializer element is not constant
extensions/pyexpat.c:2107: error: (near initialization for  
'handler_info[22].name')
extensions/pyexpat.c:2107: error: initializer element is not constant
extensions/pyexpat.c:2107: error: (near initialization for  
'handler_info[22].setter')
extensions/pyexpat.c:2107: error: initializer element is not constant
extensions/pyexpat.c:2107: error: (near initialization for  
'handler_info[22].handler')
extensions/pyexpat.c:2107: error: initializer element is not constant
extensions/pyexpat.c:2107: error: (near initialization for  
'handler_info[22]')
lipo: can't figure out the architecture type of: /var/tmp//ccUGGzrt.out
error: command 'gcc' failed with exit status 255


More information about the XML-SIG mailing list