posted by boulabiar on irc: sudo python setup.py install [INFO ] PyMT v0.5.1-dev running install running build running build_py running build_ext building 'pymt.c_ext._transformations' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/lib/python2.6/dist-packages/numpy/core/include -I/usr/include/python2.6 -c pymt/c_ext/transformations.c -o build/temp.linux-i686-2.6/pymt/c_ext/transformations.o pymt/c_ext/transformations.c:68: fatal error: Python.h: No such file or directory compilation terminated. error: command 'gcc' failed with exit status 1
to compile c extensions we need python-dev. nto sure if xython also installs python-dev, but i think so. need to change setup.py so it onoy tries compiling transformations.c if python.h is found.
Comment #1
Posted on Aug 23, 2010 by Happy Cameli don't agree, python-pymt depend on python-dev, and other extension too. on wiki, we give one line that install poython-dev too. :)
and in the future pymt version, it will be required anyway. so it's cool to let the error here, and even write a better error like: "you miss to install python-dev package." ^^
Comment #2
Posted on Aug 23, 2010 by Happy Birdok, didnt realize python-pymt had teh dependency installed..so this is only problem if installing from source, whic is ok, since you must install deps yourself
Comment #3
Posted on Aug 25, 2010 by Happy Bird(No comment was entered for this change.)
Status: Invalid
Labels:
Type-Defect
Priority-Medium