Commit c07229ea authored by Brenden Blanco's avatar Brenden Blanco

Minor updates to install doc and add dep to spec files

* Add some runtime dependencies in INSTALL.md
* make and gcc are required at runtime, so add them to libbcc Requires:
Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
parent 32326203
...@@ -51,8 +51,8 @@ Tagged binary packages are built for Fedora 22 and hosted at http://52.8.15.63/y ...@@ -51,8 +51,8 @@ Tagged binary packages are built for Fedora 22 and hosted at http://52.8.15.63/y
To install: To install:
```bash ```bash
wget http://52.8.15.63/yum/main/f22/iovisor.repo -O /etc/yum.repos.d/iovisor.repo sudo wget http://52.8.15.63/yum/main/f22/iovisor.repo -O /etc/yum.repos.d/iovisor.repo
dnf install -y libbcc libbcc-examples python-bcc sudo dnf install -y libbcc libbcc-examples python-bcc
``` ```
# Ubuntu - From source # Ubuntu - From source
...@@ -82,7 +82,7 @@ To build the toolchain from source, one needs: ...@@ -82,7 +82,7 @@ To build the toolchain from source, one needs:
# Fedora - From source # Fedora - From source
* Install build dependencies * Install build dependencies
* `sudo dnf install -y cmake ethtool git iperf libstdc++-static python-netaddr python-pip gcc gcc-c++ make zlib-devel` * `sudo dnf install -y bison cmake ethtool flex git iperf libstdc++-static python-netaddr python-pip gcc gcc-c++ make zlib-devel`
* `sudo dnf install -y http://pkgs.repoforge.org/netperf/netperf-2.6.0-1.el6.rf.x86_64.rpm` * `sudo dnf install -y http://pkgs.repoforge.org/netperf/netperf-2.6.0-1.el6.rf.x86_64.rpm`
* `sudo pip install pyroute2` * `sudo pip install pyroute2`
* Install binary clang * Install binary clang
......
...@@ -88,6 +88,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -88,6 +88,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -88,6 +88,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -88,6 +88,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot} ...@@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}
%package -n libbcc %package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC) Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc %description -n libbcc
Shared Library for BPF Compiler Collection (BCC) Shared Library for BPF Compiler Collection (BCC)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment