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

Paul Everitt paul at zeapartners.org
Sat Dec 1 18:12:04 CET 2007


Hi all.  I just tried compiling lxml trunk on Leopard and got:

building 'lxml.etree' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp 
-mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes 
-I/usr/include/libxml2 -I/Users/paul/opt/include/python2.4 -c 
src/lxml/lxml.etree.c -o 
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


--Paul



More information about the lxml-dev mailing list