[XML-SIG] Messages when installing xml

Stefan Behnel stefan_ml at behnel.de
Mon Nov 3 21:09:18 CET 2008


first of all: is there any reason you are not using the latest binary packages
of lxml 2.1?

Also: the mailing list of lxml is a better place to ask these questions than
the more general XML-SIG list.

Colin J. Williams wrote:
> The log of my install is below:
>     Building lxml version 2.2.alpha1-59220.
>     Building with Cython
>     ERROR: 'xslt-config' is not recognized as an internal or external command,
>     operable program or batch file.
>     ** make sure the development packages of libxml2 and libxslt are installed **

You need to install libxml2 and libxslt and add the xslt-config script that
ships with libxslt to your program search path when building lxml.

>     [...]
>     building 'lxml.etree' extension
>     C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -IC:\python25\include
>     -IC:\python25\PC -c src/lxml\lxml.etree.c -o
>     build\temp.win32-2.5\Release\src\lxml\lxml.etree.o -w

It's generally recommended to build lxml statically against libxml2/libxslt on
Windows. There are some build instructions on the web page.


More information about the XML-SIG mailing list