21 Aug 17:42
Undefined preference when building lxml xsltLibxsltVersion
From: Nguyễn Khánh Duy <nguyenkhanhduy <at> gmail.com>
Subject: Undefined preference when building lxml xsltLibxsltVersion
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-08-21 15:43:34 GMT
Subject: Undefined preference when building lxml xsltLibxsltVersion
Newsgroups: gmane.comp.python.lxml.devel
Date: 2008-08-21 15:43:34 GMT
I am trying to build lxml for python 2.3 on windows, using mingw32. I've successfully downloaded and installed libxslt and libxml2, put the include header files and the lib files where they need to be, but when I build lxml the following error appears: Am I missing any .lib files? libxslt, libxml2, libexslt, iconv and zlib are all in the python 2.3 libs folder. D:\LXML\lxml-2.1.1>python setup.py build -cmingw32 Building lxml version 2.1.1. NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available. 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 ** Using build configuration of libxslt running build running build_py running build_ext building 'lxml.etree' extension writing build\temp.win32-2.3\Release\src\lxml\etree.def C:\MinGW\bin\gcc.exe -mno-cygwin -shared -s build\temp.win32-2.3\Release\src\lxm l\lxml.etree.o build\temp.win32-2.3\Release\src\lxml\etree.def -LD:\Python23\lib s -LD:\Python23\PCBuild -llibxslt -llibexslt -llibxml2 -liconv -lzlib -lWS2_32 - lpython23 -o build\lib.win32-2.3\lxml\etree.pyd build\temp.win32-2.3\Release\src\lxml\lxml.etree.o:lxml.etree.c:(.text+0x67e20): undefined reference to `xsltProcessOneNode'(Continue reading)
RSS Feed