[lxml-dev] Build problems under MacOS-X

Stefan Behnel stefan_ml at behnel.de
Mon Feb 4 08:09:06 CET 2008


Hi,

Michael Guntsche wrote:
> 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.

Hmm, "test_inplace" doesn't tell me much, as it's just the make target for
running all tests, not an individual test.

However, it seems to be common for Mac users to have lxml crash, so we should
definitely do something about it...

Stefan



More information about the lxml-dev mailing list