Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install on Ubuntu Linux #38

Closed
computersarecool opened this issue Feb 5, 2021 · 2 comments
Closed

Can't install on Ubuntu Linux #38

computersarecool opened this issue Feb 5, 2021 · 2 comments

Comments

@computersarecool
Copy link

computersarecool commented Feb 5, 2021

Here is the outpu from Ubuntu 20.04:

    Running setup.py install for pybgpstream ... error
    ERROR: Command errored out with exit status 1:
     command: /home/user/Documents/projects/real/bgpm/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6knal_pj/pybgpstream_51549551afdc4ecc8ecc3aa299fefb56/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6knal_pj/pybgpstream_51549551afdc4ecc8ecc3aa299fefb56/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' build_ext --include-dir=/usr/local/include --library-dir=/usr/local/lib install --record /tmp/pip-record-e8ks3q1e/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/Documents/projects/real/bgpm/.venv/include/site/python3.6/pybgpstream
         cwd: /tmp/pip-install-6knal_pj/pybgpstream_51549551afdc4ecc8ecc3aa299fefb56/
    Complete output (11 lines):
    running build_ext
    building '_pybgpstream' extension
    creating build
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/src
    x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.6-_AWkrw/python3.6-3.6.11=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/local/include -I/home/user/Documents/projects/real/bgpm/.venv/include -I/usr/include/python3.6m -c src/_pybgpstream_version.c -o build/temp.linux-x86_64-3.6/src/_pybgpstream_version.o
    src/_pybgpstream_version.c:27:10: fatal error: bgpstream.h: No such file or directory
       27 | #include <bgpstream.h>
          |          ^~~~~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command errored out with exit status 1: /home/user/Documents/projects/real/bgpm/.venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-6knal_pj/pybgpstream_51549551afdc4ecc8ecc3aa299fefb56/setup.py'"'"'; __file__='"'"'/tmp/pip-install-6knal_pj/pybgpstream_51549551afdc4ecc8ecc3aa299fefb56/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' build_ext --include-dir=/usr/local/include --library-dir=/usr/local/lib install --record /tmp/pip-record-e8ks3q1e/install-record.txt --single-version-externally-managed --compile --install-headers /home/user/Documents/projects/real/bgpm/.venv/include/site/python3.6/pybgpstream Check the logs for full command output.
@computersarecool computersarecool changed the title Can't install on linux Can't install on Linux Feb 5, 2021
@computersarecool computersarecool changed the title Can't install on Linux Can't install on Ubuntu Linux Feb 5, 2021
@digizeph
Copy link
Contributor

digizeph commented Feb 5, 2021

Looks like you don't have libbgpstream installed. Here is the instruction: https://bgpstream.caida.org/docs/install/bgpstream

@computersarecool
Copy link
Author

Thanks, sorry I missed those directions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants