[Grok-dev] installing Kirbi
Brandon Craig Rhodes
brandon at rhodesmill.org
Mon Sep 17 10:16:17 EDT 2007
"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.
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
--
Brandon Craig Rhodes brandon at rhodesmill.org http://rhodesmill.org/brandon
More information about the Grok-dev
mailing list