Subject: Re: BUG: Trunk fails on Leopard (OS X 10.5) for
missing schematron.h




Paul Everitt wrote:
> build/temp.macosx-10.3-i386-2.4/src/lxml/lxml.etree.o -w
> src/lxml/lxml.etree.c:69:31: error: libxml/schematron.h: No such file or
> directory
>
> This also happens with the current cheeseshop egg (2.0alpha5).
>
> Here's the libxml2 version that ships with Leopard:
>
> $ xmllint --version
> xmllint: using libxml version 20616
> compiled with: DTDValid FTP HTTP HTML C14N Catalog XPath XPointer
> XInclude Unicode Regexps Automata Schemas

You are trying to build lxml 2.0 with libxml2 2.6.16. As the FAQ states, lxml
2.0 requires libxml2 2.6.20 or later.

http://codespeak.net/lxml/dev/FAQ.html#which-version-of-libxml2-and-libxslt-should-i-use-or-require

You can either try lxml 1.3....

x or install a newer libxml2 version.

Stefan




Programming list archiving by: Enterprise Git Hosting