Dear all,

I just want to run django (not via runserver) on my Synology DS 213j
(DSM 6.2.2) and I am facing several problems. One of these problems
concerns the python module docx, which needs lxml and PIL in order to
install. lxml needs libxml2 and libxslt. And of course I cannot simply
apt-get install, because the Diskstation does not use that system.

I tried to download the source code for libxml2. I am new to compiling
tasks, but after running autogen.sh and configure I ran into the next
problem when I ran make.

make[4]: Entering directory '/opt/srctest/libxml2-mainline/python'
CC libxml.lo
libxml.c:14:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
make[4]: *** [Makefile:625: libxml.lo] Error 1
make[4]: Leaving directory '/opt/srctest/libxml2-mainline/python'
make[3]: *** [Makefile:686: all-recursive] Error 1
make[3]: Leaving directory '/opt/srctest/libxml2-mainline/python'
make[2]: *** [Makefile:526: all] Error 2
make[2]: Leaving directory '/opt/srctest/libxml2-mainline/python'
make[1]: *** [Makefile:1438: all-recursive] Error 1
make[1]: Leaving directory '/opt/srctest/libxml2-mainline'
make: *** [Makefile:858: all] Error 2

I did not find any way how to get the python-dev headers there. Please
let me know how I could do this. Or if there is a more simple way to get
docx/lxml running.

Best regards

Martin

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml@gnome.org
https://mail.gnome.org/mailman/listinfo/xml

Reply via email to