Skip to content

Commit

Permalink
Minor updates to install doc and add dep to spec files
Browse files Browse the repository at this point in the history
* Add some runtime dependencies in INSTALL.md
* make and gcc are required at runtime, so add them to libbcc Requires:

Signed-off-by: Brenden Blanco <[email protected]>
  • Loading branch information
Brenden Blanco committed Sep 4, 2015
1 parent 3232620 commit c07229e
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ Tagged binary packages are built for Fedora 22 and hosted at http:https://52.8.15.63/y

To install:
```bash
wget http:https://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 wget http:https://52.8.15.63/yum/main/f22/iovisor.repo -O /etc/yum.repos.d/iovisor.repo
sudo dnf install -y libbcc libbcc-examples python-bcc
```

# Ubuntu - From source
Expand Down Expand Up @@ -82,7 +82,7 @@ To build the toolchain from source, one needs:
# Fedora - From source

* 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:https://pkgs.repoforge.org/netperf/netperf-2.6.0-1.el6.rf.x86_64.rpm`
* `sudo pip install pyroute2`
* Install binary clang
Expand Down
1 change: 1 addition & 0 deletions SPECS/bcc.el6.spec
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ make install/strip DESTDIR=%{buildroot}

%package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc
Shared Library for BPF Compiler Collection (BCC)

Expand Down
1 change: 1 addition & 0 deletions SPECS/bcc.el6.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ make install/strip DESTDIR=%{buildroot}

%package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc
Shared Library for BPF Compiler Collection (BCC)

Expand Down
1 change: 1 addition & 0 deletions SPECS/bcc.el7.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}

%package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc
Shared Library for BPF Compiler Collection (BCC)

Expand Down
1 change: 1 addition & 0 deletions SPECS/bcc.el7.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}

%package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc
Shared Library for BPF Compiler Collection (BCC)

Expand Down
1 change: 1 addition & 0 deletions SPECS/bcc.f22.spec
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}

%package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc
Shared Library for BPF Compiler Collection (BCC)

Expand Down
1 change: 1 addition & 0 deletions SPECS/bcc.f22.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ make install/strip DESTDIR=%{buildroot}

%package -n libbcc
Summary: Shared Library for BPF Compiler Collection (BCC)
Requires: make, gcc
%description -n libbcc
Shared Library for BPF Compiler Collection (BCC)

Expand Down

0 comments on commit c07229e

Please sign in to comment.