-
-
Notifications
You must be signed in to change notification settings - Fork 159
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
Coz install fails on CentOS8 Stream #203
Comments
Unfortunately, you can't build Coz that way. Please follow the instructions given here: https://github.com/plasma-umass/coz#building-coz-from-source I just followed them on Ubuntu and everything works as anticipated. |
Full instructions copied here: Building Coz From SourceTo build Coz from source, you will need:
Once you have all dependencies in place, build Coz with CMake. On Debian-based distributions, the following commands should take care of the entire process: sudo apt-get install build-essential cmake docutils-common git python3 pkg-config
git clone https://github.com/antoyo/libelfin && cd libelfin && make && sudo make install && cd ..
git clone https://github.com/plasma-umass/coz && cd coz && cmake . && make && sudo make install && cd .. Next, you need to change the "perf_event_paranoia" level so Coz can run. sudo sh -c 'echo 1 >/proc/sys/kernel/perf_event_paranoid' Now you can test Coz. Build the benchmark suite and run one of the benchmarks (the SQLite3 benchmark takes a while to build). sudo apt-get install libbz2-dev libsqlite3-dev
cd coz/benchmarks && cmake . && make && cd ../..
coz run --- ./coz/benchmarks/toy/toy Finally, use the Coz viewer to see the results. This command will open up a browser tab, from which you will need to load the file coz plot |
How can you close this as completed? Those instructions maybe work on Debian-based distributions, not on Fedora/RHEL/CentOS. If Coz does not support the other family of Linux distros that's fine. (I tried to translate them to |
I apparently misread your report as just having run |
Any updates on this? I'm also trying to build with CentOS Stream 8. |
I'm trying to install on Fedora. libelfin installed just fine through
|
Building from source:
Tried to run the command in the benchmarks directory:
cmake . && make && cd ../..
and got:
fatal error: coz.h: No such file or directory
#include "coz.h"
The text was updated successfully, but these errors were encountered: