| Issue 330: | setup fails on ubuntu if python-dev in not installed | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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.
Aug 23, 2010
Project Member
#1
txprog
Aug 23, 2010
ok, 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
Aug 24, 2010
(No comment was entered for this change.)
Status:
Invalid
|