[lxml-dev] Version in trunk (svn:63387) doesn't compile on Fedora 9.x86_64 / Fedora 10.x86_64
Stefan Behnel
stefan_ml at behnel.de
Fri Mar 27 15:51:37 CET 2009
Hi,
thanks for the report.
Andreas wrote:
> the version in trunk seems broken for Fedora 9/10.
Note that the trunk version is almost exactly what was released as lxml 2.2.
> libxml2 2.7.3
> Python 2.5.1
> [...]
> Building with Cython 0.11.
> Using build configuration of libxslt 1.1.24
> Building against libxml2/libxslt in the following directory: /usr/lib64
> [...]
> src/lxml/lxml.etree.c:3299: error: expected =, ,, ;, asm or
> __attribute__ before __pyx_v_4lxml_5etree_XSLT_DOC_DEFAULT_LOADER
Line 3299 appears to be the first line that uses names from libxslt, so my
guess is that something is wrong with your libxslt setup. My first guess
usually is that the libxslt-dev(el) package is missing, but you appear to
have libxslt 1.1.24 installed, and lxml seems to find the "xslt-config"
script which usually comes with libxslt-dev, so I'm a bit puzzled here.
Maybe your default include path lacks /usr/lib64 (where libxslt/*.h gets
installed)? Are you building this with 64bit Python and libraries?
Stefan
More information about the lxml-dev
mailing list