Skip to content

Commit fbe2864

Browse files
authored
Add missing install dependencies to INSTALL.md (#5319)
Just tried to build bcc on a today's debian-sid-nocloud-amd64-daily.raw, and it first failed with: ``` [...] [ 18%] Building CXX object src/cc/CMakeFiles/bcc-shared.dir/common.cc.o make[2]: *** No rule to make target '/usr/lib/llvm-19/lib/libPolly.a', needed by 'src/cc/libbcc.so.0.34.0'. Stop. make[1]: *** [CMakeFiles/Makefile2:1043: src/cc/CMakeFiles/bcc-shared.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ``` That got fixed with `apt install libpolly-19-dev`, but the build failed with ``` [ 92%] Built target debuginfo_test_lib [ 93%] Generating archive.zip /bin/sh: 1: zip: not found make[2]: *** [tests/cc/CMakeFiles/zip_archive.dir/build.make:75: tests/cc/archive.zip] Error 127 make[1]: *** [CMakeFiles/Makefile2:2166: tests/cc/CMakeFiles/zip_archive.dir/all] Error 2 make: *** [Makefile:146: all] Error 2 ``` That got fixed with `apt install zip`.
1 parent d7667cf commit fbe2864

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,8 @@ sudo apt-get install arping bison clang-format cmake dh-python \
349349
dpkg-dev pkg-kde-tools ethtool flex inetutils-ping iperf \
350350
libbpf-dev libclang-dev libclang-cpp-dev libedit-dev libelf-dev \
351351
libfl-dev libzip-dev linux-libc-dev llvm-dev libluajit-5.1-dev \
352-
luajit python3-netaddr python3-pyroute2 python3-setuptools python3
352+
luajit python3-netaddr python3-pyroute2 python3-setuptools python3 \
353+
zip libpolly-19-dev
353354
```
354355
355356
#### Install and compile BCC

0 commit comments

Comments
 (0)