bundestag / gesetze-tools

Scripts to maintain German law git repository
GNU Lesser General Public License v3.0
114 stars 21 forks source link

Cannot compile on Debian/testing #8

Closed npettiaux closed 10 years ago

npettiaux commented 10 years ago

Dear,

While installing your tools, in a python virtualenv, and typing pip install -r requirements.txt

I get

Installing collected packages: lxml, requests, gitdb, async, smmap Running setup.py install for lxml Building lxml version 2.3.5. Building without Cython. ERROR: /bin/sh: 1: xslt-config: not found

** make sure the development packages of libxml2 and libxslt are installed **

Using build configuration of libxslt
building 'lxml.etree' extension
x86_64-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c src/lxml/lxml.etree.c -o build/temp.linux-x86_64-2.7/src/lxml/lxml.etree.o -w
In file included from src/lxml/lxml.etree.c:239:0:
src/lxml/etree_defs.h:9:31: fatal error: libxml/xmlversion.h: No such file or directory
 #include "libxml/xmlversion.h"

I must miss a package, but I cannot find which. Much thanks.

stefanw commented 10 years ago

Googling spits out this: lxml requires the dev versions of libxml and libxslt. apt-get or brew are your friends.