Skip to content

Instantly share code, notes, and snippets.

@Fluxx
Created March 8, 2012 20:40
Show Gist options
  • Select an option

  • Save Fluxx/2003304 to your computer and use it in GitHub Desktop.

Select an option

Save Fluxx/2003304 to your computer and use it in GitHub Desktop.
Running setup.py install for lxml
Building lxml version 2.3.1.
Building without Cython.
ERROR: /bin/sh: xslt-config: not found
** make sure the development packages of libxml2 and libxslt are installed **
Using build configuration of libxslt
building 'lxml.etree' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.6/src/lxml/lxml.etree.o -w
In file included from src/lxml/lxml.etree.c:239:
src/lxml/etree_defs.h:9:31: error: libxml/xmlversion.h: No such file or directory
src/lxml/etree_defs.h:11:4: error: #error the development package of libxml2 (header files etc.) is not installed correctly
src/lxml/etree_defs.h:13:32: error: libxslt/xsltconfig.h: No such file or directory
src/lxml/etree_defs.h:15:4: error: #error the development package of libxslt (header files etc.) is not installed correctly
src/lxml/lxml.etree.c:242:29: error: libxml/encoding.h: No such file or directory
src/lxml/lxml.etree.c:243:28: error: libxml/chvalid.h: No such file or directory
src/lxml/lxml.etree.c:244:25: error: libxml/hash.h: No such file or directory
src/lxml/lxml.etree.c:245:25: error: libxml/tree.h: No such file or directory
src/lxml/lxml.etree.c:246:24: error: libxml/uri.h: No such file or directory
src/lxml/lxml.etree.c:247:29: error: libxml/HTMLtree.h: No such file or directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment