iovisor / iovisor/bcc

Problem installing Python bindings

Open
#4,299 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
22.7k
Forks
4.1k
Avg merge
5d 13h
Merged PRs (30d)
3

Description

Installing on Ubuntu 22.04.

I installed the build dependencies exactly as written in `INSTALL.md`. I started following the commands to build from source and got this far:
```
git clone https://github.com/iovisor/bcc.git
mkdir bcc/build; cd bcc/build
cmake ..
make
sudo make install
```
These steps are all successful. I get an error executing the next command:
```
$ cmake -DPYTHON_CMD=python3 .. # build python3 binding
CMake Error: The source directory "/home/zmitchell/bcc/build/binding" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
```
I'm not a CMake user, so I don't know how to start debugging this on my own (a search for `binding` didn't show anything in `CMakeLists.txt`, that's about the extent of my CMake debugging ability).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with INSTALL.md and compare the documented Python binding command with the build directory used in the report. Check the relevant CMake entry points and reproduce the command on Ubuntu 22.04. Done means the documented command resolves an existing source directory and successfully builds the Python bindings.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, python, ubuntu
Domain
build-system
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.