Thanks for the response Martin

I have tried using z3c.recipe.lxml. I placed it first in my parts list as
you mentioned on twitter, but when running my buildout, I get the following
error:

Building lxml version 2.2.2.
NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c'
needs to be available.
Using build configuration of libxslt 1.1.24
Building against libxml2/libxslt in one of the following directories:
  /home/hannes/zope/parts/lxml/libxslt/lib
  /home/hannes/zope/parts/lxml/libxml2/lib
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
error: Setup script exited with error: command 'gcc' failed with exit status
1
An error occured when trying to install lxml 2.2.2.Look above this message
for any errors thatwere output by easy_install.
While:
  Installing lxml.
Error: Couldn't install: lxml 2.2.2

Am I missing something?

Regards,

Hannes Calitz


2009/11/17 Martin Aspeli <[email protected]<optilude%[email protected]>
>

> hannesc wrote:
>
>>
>>
>> treid wrote:
>>
>>> I think I might of resolved the problem by doing an install of the
>>> libxml2-dev and libxlxt-devel.
>>>
>>> I'm not completely sure which one did the trick but now I'm past this
>>> error and the buildout has made it all the way through. Although I can't
>>> run the instance we have movement at the station.
>>>
>>>
>> I have been getting an error with lxml as well, and I already installed
>> libxml2-dev. However, how would I go about installing libxlxt-devel?
>>
>
> It's libxslt-devel, not libxlxt-devel. Otherwise, it should be the same.
>
> If, however, you use z3c.recipe.staticlxml you don't need to install
> anything.
>
> Martin
>
> --
> Author of `Professional Plone Development`, a book for developers who
> want to work with Plone. See http://martinaspeli.net/plone-book
>
>
> _______________________________________________
> Setup mailing list
> [email protected]
> http://lists.plone.org/mailman/listinfo/setup
>
_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to