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

"Martin v. Löwis" martin at v.loewis.de
Mon Apr 10 11:13:46 CEST 2006


Todd O'Bryan wrote:
> 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.

> 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

My guess is that this comes form the -isysroot option.

This option does not come from PyXML, nor does it come from stock
Python 2.4, so I guess it is something that the Universal Binary
added. You should ask on the python-mac list for advice.

Regards,
Martin


More information about the XML-SIG mailing list