Re: lxml troubles and questions
"Luthiger Stoll Benno" <[email protected]> Fri, 5 Aug 2011 21:26:54 +0000
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Silvain Thank you for this hints. They helped me to solve my installing problems. Regards, Benno -----Original Message----- From: Sylvain Viollon [mailto:[email protected]] Sent: Montag, 1. August 2011 10:09 To: Luthiger Stoll Benno Cc: silva-dev-IAPFreCvJWM6s/[email protected] Subject: Re: [silva-dev] lxml troubles and questions Op 29 jul 2011, om 22:50 heeft Luthiger Stoll Benno het volgende geschreven: > Hello devs > Hello, > On a Linux box, I've needed to install other then the system's libxml2 and libxslt. I've managed to compile lxml linking to the xml programs I've installed. > > Now, if I try to install Silva 2.3 using buildout, the installation stops because the buildout tries to build lxml against the system's xml libraries and, thus, fails. > You need to export your PATH in your environment so your installation path is included *before* your system PATH. export PATH=/installation/path/bin:${PATH} If you do: which xml2-config It should find a script in your installation path. After if your installation is a non standard one, I recommend to configure the LD_LIBRARY_PATH as well: export LD_LIBRARY_PATH=/installation/path/lib As well even if it should not be needed, I recommand to export those variables as well to start Zope. Setting them in your shell profile would help it probably. > How can I advise buildout to use my already installed lxml? > I've compiled lxml 2.3 while the buildout tries to install lxml 2.2.8. Should I better compile lxml 2.2.8? > Or can I advise buildout to link against the xml programs I've installed? > Silva is not tested against 2.3. According the version number change, it might contains changes that are not backward compatible, so I would test it first throughly before. Regards, -- Sylvain Viollon -- Infrae t +31 10 243 7051 -- http://infrae.com Hoevestraat 10 3033GC Rotterdam -- The Netherlands