[lxml-dev] Build problems under MacOS-X

Michael Guntsche mike at it-loops.com
Sun Feb 3 22:14:24 CET 2008


On Feb 2, 2008, at 12:40, Stefan Behnel wrote:

> Hmm, too bad.
>
> Ok, calling for help here. Are there any other Mac users on the  
> list who could
> give hints?
>
> Stefan

Here's a quick howto how I build dynamically linked lxml eggs under  
Macosx 10.4.

Python is version 2.5 universal binary form python.org
Via macports I installed libxml2 as an universal variant (+universal)  
and also the other needed libraries.
I made sure that xml2-config from macports is found BEFORE the stock  
xml2-config in /usr/bin.
Then I just called python setup.py bdist_egg to compile it.
make test shows that 2.6.31 is used from macports but shows a bus  
error at the "test_inplace" test though.
Apart from that I haven't noticed any problems.

Kind regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080203/c2f903ea/attachment.bin 


More information about the lxml-dev mailing list