Comments (4)
I tried building it on Fedora by installing the following packages;
sudo dnf install bison '@Development tools' flex libedit-devel llvm6.0-devel llvm6.0-libs \
clang-devel elfutils-libelf-devel zlib-devel llvm6.0-static bcc
But when running cmake I just get this issue.
-- Found LLVM: /usr/lib64/llvm6.0/include 6.0.1
CMake Error at build/_deps/bcc-src/CMakeLists.txt:58 (message):
Unable to find clang libraries
I tried pointing to the LLVM dirs with -DCMAKE_PREFIX_PATH=/usr/lib64
and -DLLVM_LIBRARY_DIRS=/usr/lib64/llvm6.0/lib
but no joy. Anyone got any idea how to compile this?
I can't find clang6.0 on Fedora 32, package was orphaned a while back.
from procmon-for-linux.
Arch and Fedora is using clang 10 which cant build bcc 0.10 (iovisor/bcc@1599c2ef8206988d5d)
from procmon-for-linux.
I came a bit further towards running it on Fedora with this Dockerfile but it's still generating a lot of errors and the curses UI is empty of any data so it doesn't seem to work.
Maybe it's helpful to some Fedora user. I can't spend more time on this myself. :)
FROM ubuntu:18.04
VOLUME .:/source
COPY install_bcc.sh /source/install_bcc.sh
RUN apt update
RUN apt install apt-transport-https ca-certificates gnupg software-properties-common wget -y
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | gpg --dearmor - | tee /etc/apt/trusted.gpg.d/kitware.gpg >/dev/null
RUN apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main'
RUN apt install kitware-archive-keyring -y
RUN apt install -y cmake libsqlite3-dev bison build-essential flex git libedit-dev libllvm6.0 llvm-6.0-dev libclang-6.0-dev python zlib1g-dev libelf-dev iperf netperf arping
RUN bash /source/install_bcc.sh
ENTRYPOINT /bin/bash
install_bcc.sh is simply;
#!/usr/bin/env bash
cd /source
git clone --branch tag_v0.10.0 https://github.com/iovisor/bcc.git
mkdir bcc/build
cd bcc/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr
make -j$(nproc)
make install
$ docker build -t procmon .
$ docker run -ti -v "$(pwd)/:/source" --privileged procmon
And then you can finish the build in the container and find the binary in build/.
I've downgraded my F32 system to cgroupsv1 because I feel that podman isn't ready for daily use yet.
from procmon-for-linux.
Duplicate of #70
from procmon-for-linux.
Related Issues (20)
- Provide a GUI.
- Binary for RHEL based systems HOT 5
- nostr? HOT 2
- Build error on cmake: "unknown component LLVMBitWriter" HOT 1
- Error on 'make' on Arch HOT 3
- Error on 'Make' HOT 2
- Please document which kernel options are needed for procmon to work HOT 6
- Optimize performance and graphics output with latest notcurses HOT 2
- Doesn't seem to work on ubuntu 21.04 HOT 1
- Issue to build/run on Debian 11 due clang library HOT 1
- Segmentation fault after loading procmon Debian 11 HOT 3
- [Makefile:163: all] Error 2 - Debian 10 with cmake 3.14.0 HOT 4
- Can not build on Fedora 35 HOT 4
- ProcMon-for-Linux doesn't work in WSL2 HOT 3
- Build fails with gcc 12
- WSL2 Ubuntu 20.04: Exception is thrown HOT 4
- Procmon for Android HOT 2
- make error HOT 4
- compress backing files
- Build failed whit llvm14 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from procmon-for-linux.