Closed yajo closed 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
OK. Forget it. Solution: sudo yum install python-devel.
sudo yum install python-devel