Re: PyXML install problems on Mac OS X

"Martin v. Löwis" <[email protected]>
Newsgroups gmane.comp.python.xml
Message-ID <[email protected]>
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
_______________________________________________
XML-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/xml-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.