![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
L. Dubyzu, 08.11.2012 19:50:
Stefan Behnel <stefan_ml <at> behnel.de> writes:
It's that long because it's full of errors. *wink*
Something's wrong with your build environment here, even just the "configure" script doesn't work. Can you try to build libxml2 separately to see if that works at all?
That being said, Debian has pre-built packages of lxml also for ARM, so it can't be a problem in general.
http://packages.debian.org/experimental/python-lxml
Stefan
Lol. I error-prone. Unfortunately, i dont use Debian. I have a QNAP TS-112 NAS.
Interesting. And you're really compiling code on that machine?
I also have libxml2 installed:
[/src/pyliball] # ipkg info libxml2 Package: libxml2 Version: 2.7.8-1 Depends: zlib (>=1.2.5) Status: install user installed Section: libs Architecture: arm maintainer: NSLU2 Linux <nslu2-linux@yahoogroups.com> MD5Sum: 5f944cada8ee39362bae6df119f4d681 Size: 913110 Filename: libxml2_2.7.8-1_arm.ipk Source: ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz Description: Libxml2 is the XML C parser and toolkit developed for the Gnome project.
This __xmlStructuredErrorContext undefined symbol error i get, is there no work around for this? Is it really required? Can i have it patched or something? What can i do? I'm completely stuck. The app I'm trying to install on my system runs "from lxml import etree" which causes this error.
To build lxml against it, you do not only need the library package itself (i.e. libxml2) but also the development package, i.e. something like libxml2-dev or libxml2-devel. Likewise for libxslt. The missing symbol error means that something that was used during the build doesn't match what is being used at runtime. A build log of your "normal" (non-static) lxml build would help to figure out what went wrong. Stefan