[Grok-dev] installing Kirbi

Santiago Videla santiago.videla at gmail.com
Mon Sep 17 10:26:45 EDT 2007


On 9/17/07, Brandon Craig Rhodes <brandon at rhodesmill.org> wrote:
>
> "Santiago Videla" <santiago.videla at gmail.com> writes:
>
> > and finally this:
> > ....
> > src/lxml/etree.c:87690: error: 'XML_XPATH_UNDEF_VARIABLE_ERROR'
> undeclared
> > (first use in this function)
> > src/lxml/etree.c:87691: error: 'XML_XPATH_UNDEF_PREFIX_ERROR' undeclared
> > (first use in this function)
> > src/lxml/etree.c:87692: error: 'XML_XPATH_UNKNOWN_FUNC_ERROR' undeclared
> > (first use in this function)
> > src/lxml/etree.c:87693: error: 'XML_XPATH_INVALID_OPERAND' undeclared
> (first
> > use in this function)
> > src/lxml/etree.c:87694: error: 'XML_XPATH_INVALID_TYPE' undeclared
> (first
> > use in this function)
> > src/lxml/etree.c:87695: error: 'XML_XPATH_INVALID_ARITY' undeclared
> (first
> > use in this function)
> > src/lxml/etree.c:87696: error: 'XML_XPATH_INVALID_CTXT_SIZE' undeclared
> > (first use in this function)
> > src/lxml/etree.c:87697: error: 'XML_XPATH_INVALID_CTXT_POSITION'
> undeclared
> > (first use in this function)
> > src/lxml/etree.c:87969: error: 'LIBXSLT_VERSION' undeclared (first use
> in
> > this function)
> > src/lxml/etree.c:87980: error: 'xsltLibxsltVersion' undeclared (first
> use in
> > this function)
> > src/lxml/etree.c:87991: error: '__pyx_v_5etree_XSLT_DOC_DEFAULT_LOADER'
> > undeclared (first use in this function)
> > src/lxml/etree.c:87991: error: 'xsltDocDefaultLoader' undeclared (first
> use
> > in this function)
> > src/lxml/etree.c:88000: error: '__pyx_f_5etree__xslt_doc_loader'
> undeclared
> > (first use in this function)
> > error: Setup script exited with error: command 'gcc' failed with exit
> status
> > 1
> > An error occured when trying to install lxml 2.0alpha2.Look above this
> > message for any errors thatwere output by easy_install.
> > While:
> >   Installing test_kirbifetch.
> >   Getting distribution for 'lxml'.
> > Error: Couldn't install: lxml 2.0alpha2
>
> I had that problem a few days ago!
>
> If you look way up at the top of the list of error messages, you'll
> see that they begin with a complaint about a particular ".h" file
> that's missing from your system.  You need to ask your system what
> package would provide that file, then install it.
>
> On my Debian system, I had to install "libxml2-dev" and "libxslt1-dev"
> before lxml would compile and install properly from the buildout.


Thanks, it works


Actually, I think I also had to make a symlink because Debian put a
> library one level deep that the lxml source code wanted at the root:
>
> $ ls -l /usr/include/libxml
> lrwxrwxrwx  1 root root     14 2007-09-12 15:47 libxml -> libxml2/libxml


I don't understand this. Where do you create the link?
I got this log, are the warnings something to worry about??

Building lxml version 2.0.alpha2
NOTE: Trying to build without Cython, pre-generated 'src/lxml/etree.c' needs
to be available.
warning: no previously-included files found matching 'doc/pyrex.txt'
warning: no previously-included files found matching 'src/lxml/etree.pxi'
Got lxml 2.0alpha2.


thanks

> --
> Brandon Craig Rhodes   brandon at rhodesmill.org
> http://rhodesmill.org/brandon
>



-- 
Santiago Videla
www.revolucionesweb.com.ar

Sigue la mata dando de que hablar siempre abajo y a la izquierda donde el
pensamiento que se hace corazón resplandece con la palabra sencilla y
humilde que l at s tod at s somos.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/grok-dev/attachments/20070917/f50fa387/attachment.htm


More information about the Grok-dev mailing list