[lxml-dev] BUG: Trunk fails on Leopard (OS X 10.5) for missing schematron.h

Paul Everitt paul at zeapartners.org
Tue Dec 4 17:16:22 CET 2007


Total brainfart on my part.  I had read somewhere else that libxml2 was 
updated, then looked at the version number *directly*, and *still* 
misread it.

Sorry sorry sorry.

--Paul

Stefan Behnel wrote:
> 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



More information about the lxml-dev mailing list