Closed nickpresta closed 12 years ago
Also doesn't compile on Ubuntu 12.04 x64.
$ easy_install pytrace
Searching for pytrace
Reading http://pypi.python.org/simple/pytrace/
Reading https://github.com/alonho/pytrace
Best match: pytrace 0.1.5
Downloading http://pypi.python.org/packages/source/p/pytrace/pytrace-0.1.5.tar.gz#md5=c248a19866af16314a55d9a7a6fc385a
Processing pytrace-0.1.5.tar.gz
Running pytrace-0.1.5/setup.py -q bdist_egg --dist-dir /tmp/easy_install-ybhMs8/pytrace-0.1.5/egg-dist-tmp-pwYUP0
In file included from /usr/include/python2.7/Python.h:8:0,
from ext/trace.c:2:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
/usr/include/features.h:215:0: note: this is the location of the previous definition
In file included from ext/serial.h:4:0,
from ext/trace.c:4:
ext/record_pb.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory
compilation terminated.
error: Setup script exited with error: command 'gcc' failed with exit status 1
$ pip install pytrace
[...snip...]
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -Iext -I/opt/local/include -I/usr/include/python2.7 -c ext/trace.c -o build/temp.linux-x86_64-2.7/ext/trace.o -O0
In file included from /usr/include/python2.7/Python.h:8:0,
from ext/trace.c:2:
/usr/include/python2.7/pyconfig.h:1161:0: warning: "_POSIX_C_SOURCE" redefined [enabled by default]
/usr/include/features.h:215:0: note: this is the location of the previous definition
In file included from ext/serial.h:4:0,
from ext/trace.c:4:
ext/record_pb.h:6:42: fatal error: google/protobuf-c/protobuf-c.h: No such file or directory
compilation terminated.
error: command 'gcc' failed with exit status 1
@smilliken Did you run sudo apt-get install libsqlite3-dev libprotobuf-c0-dev
?
@NickPresta you pip installed ptrace and not pytrace