Skip to content

Error running pip install pytrace #19

Description

@belate

$ pip install pytrace
Downloading/unpacking pytrace
Downloading pytrace-0.2.4.tar.gz
Running setup.py (path:/tmp/pip_build_vagrant/pytrace/setup.py) egg_info for package pytrace

Downloading/unpacking sqlalchemy (from pytrace)
Downloading SQLAlchemy-1.1.5.tar.gz (5.1MB): 5.1MB downloaded
Running setup.py (path:/tmp/pip_build_vagrant/sqlalchemy/setup.py) egg_info for package sqlalchemy

warning: no files found matching '*.jpg' under directory 'doc'
warning: no files found matching '*.mako' under directory 'doc'
warning: no files found matching 'distribute_setup.py'
warning: no files found matching 'sa2to3.py'
warning: no files found matching 'ez_setup.py'
no previously-included directories found matching 'doc/build/output'

Downloading/unpacking urwid (from pytrace)
Downloading urwid-1.3.1.tar.gz (588kB): 588kB downloaded
Running setup.py (path:/tmp/pip_build_vagrant/urwid/setup.py) egg_info for package urwid

warning: no files found matching 'CHANGELOG'

Requirement already satisfied (use --upgrade to upgrade): six in /usr/lib/python2.7/dist-packages (from pytrace)
Installing collected packages: pytrace, sqlalchemy, urwid
Running setup.py install for pytrace
building 'pytrace.tracer' extension
x86_64-linux-gnu-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
In file included from ext/serial.h:7:0,
from ext/trace.c:4:
ext/record_pb.h:7:35: fatal error: protobuf-c/protobuf-c.h: No such file or directory
#include <protobuf-c/protobuf-c.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_vagrant/pytrace/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-2fzu6X-record/install-record.txt --single-version-externally-managed --compile:
running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-2.7

creating build/lib.linux-x86_64-2.7/pytrace

copying pytrace/context_utils.py -> build/lib.linux-x86_64-2.7/pytrace

copying pytrace/main.py -> build/lib.linux-x86_64-2.7/pytrace

copying pytrace/init.py -> build/lib.linux-x86_64-2.7/pytrace

creating build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/urwid_utils.py -> build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/search.py -> build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/trace_walker.py -> build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/tables.py -> build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/main.py -> build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/init.py -> build/lib.linux-x86_64-2.7/pytrace/reader

copying pytrace/reader/query.py -> build/lib.linux-x86_64-2.7/pytrace/reader

running build_ext

building 'pytrace.tracer' extension

creating build/temp.linux-x86_64-2.7

creating build/temp.linux-x86_64-2.7/ext

x86_64-linux-gnu-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

In file included from ext/serial.h:7:0,

             from ext/trace.c:4:

ext/record_pb.h:7:35: fatal error: protobuf-c/protobuf-c.h: No such file or directory

#include <protobuf-c/protobuf-c.h>

                               ^

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Cleaning up...
Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip_build_vagrant/pytrace/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-2fzu6X-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip_build_vagrant/pytrace
Storing debug log for failure in /home/vagrant/.pip/pip.log

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions