[lxml-dev] lxml 2.2alpha1 released

Stefan Behnel stefan_ml at behnel.de
Thu Nov 27 11:28:08 CET 2008


Hi,

Mark Bestley wrote:
> Runiing python setup.py from svn works
>
> However 
> easy_install xml==dev gives
> 
> Building lxml version 2.2.alpha1-60098.
> Building with Cython 0.10.
> Using build configuration of libxslt 1.1.23
> Building against libxml2/libxslt in the following directory: /opt/local/lib
> warning: no files found matching 'lxml.etree.c' under directory 'src/lxml'
> warning: no files found matching 'lxml.objectify.c' under directory 'src/lxml'
> warning: no files found matching 'lxml.etree.h' under directory 'src/lxml'
> warning: no files found matching 'lxml.etree_api.h' under directory 'src/lxml'
> warning: no files found matching '*.html' under directory 'doc'
> i686-apple-darwin9-gcc-4.0.1: src/lxml/lxml.etree.c: No such file or directory
> i686-apple-darwin9-gcc-4.0.1: no input files
> 
> I thought this could be due to my fiddling with the OSX setup but I also
> got a similar set of errors with Ubuntu 8.10

Hmm, is that the complete output? I can't see where the warnings come from,
but I would suspect (especially seeing the "*.html") that it's easy_install
that's packaging up stuff here (which would be fine since the files are not
there yet).

Having the C compiler fail afterwards makes me wonder why Cython wasn't run
to generate the C code, though...

Anyway, I recommend installing from a source release anyway, so it's better
to use

    easy_install lxml==2.2alpha1

Stefan


More information about the lxml-dev mailing list