-
Notifications
You must be signed in to change notification settings - Fork 133
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
Dependencies for the configure script and Makefile not documented #286
Comments
Jon Trossbach ***@***.***> writes:
The [XDP
Tutorial](https://github.com/xdp-project/xdp-tutorial/blob/master/setup_dependencies.org#packages-on-fedora)
lists how to use XDP outside of needing too many *-devel packages. But
in general the xdp-tools' usage for the `configure` script and the
`Makefile` don't seem to be documented anywhere obvious. Is that
something to fix or am I missing something?
It's not documented, no; we should fix that. However, the configure
script should complain if there are missing dependencies.
```
# dnf install clang elfutils-libelf elfutils-libelf-devel zlib-devel git llvm libpcap libpcap-devel sqlite-devel m4 libbpf bpftool
# git clone https://github.com/xdp-project/xdp-tools/
# export FORCE_SYSTEM_LIBBPF=1
```
The FORCE_SYSTEM_LIBBPF is mostly for packaging so the build fails if
the system libbpf doesn't work; you can set it when manually building,
of course, but the configure output will also tell you if the system
libbpf is picked up or not, so you can also just keep an eye on that :)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The XDP Tutorial lists how to use XDP outside of needing too many
*-devel
packages. But in general the xdp-tools' usage for theconfigure
script and theMakefile
don't seem to be documented anywhere obvious. Is that something to fix or am I missing something?For example, when testing a new libbpf package with xdp-tools my set up is about the following on Fedora/CentOS/RHEL:
before running:
However, I don't know where I would confirm these are the same steps everyone expects.
The text was updated successfully, but these errors were encountered: