dskinner / damsel-python

Markup Language featuring html outlining via css-selectors, embedded python, and extensibility.
MIT License
43 stars 3 forks source link

Fails to build #28

Closed yajo closed 11 years ago

yajo commented 11 years ago
$ python setup.py build_ext -i
running build_ext
cythoning dmsl/cdoc.pyx to dmsl/cdoc.c
building 'dmsl.cdoc' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/dmsl
gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c dmsl/cdoc.c -o build/temp.linux-x86_64-2.7/dmsl/cdoc.o
dmsl/cdoc.c:8:22: error fatal: pyconfig.h: No existe el fichero o el directorio
compilación terminada.
error: command 'gcc' failed with exit status 1
yajo commented 11 years ago

OK. Forget it. Solution: sudo yum install python-devel.