Minor updates to install doc and add dep to spec files
authorBrenden Blanco <bblanco@plumgrid.com>
Fri, 4 Sep 2015 05:07:13 +0000 (22:07 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Fri, 4 Sep 2015 05:07:13 +0000 (22:07 -0700)
* 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 <bblanco@plumgrid.com>
INSTALL.md
SPECS/bcc.el6.spec
SPECS/bcc.el6.spec.in
SPECS/bcc.el7.spec
SPECS/bcc.el7.spec.in
SPECS/bcc.f22.spec
SPECS/bcc.f22.spec.in

index 9d5f4a7..c8c18d7 100644 (file)
@@ -51,8 +51,8 @@ Tagged binary packages are built for Fedora 22 and hosted at http://52.8.15.63/y
 
 To install:
 ```bash
-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 wget http://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
@@ -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://pkgs.repoforge.org/netperf/netperf-2.6.0-1.el6.rf.x86_64.rpm`
   * `sudo pip install pyroute2`
 * Install binary clang
index 56b1392..a075700 100644 (file)
@@ -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)
 
index 3c4df2b..c2134b0 100644 (file)
@@ -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)
 
index 0daa1b7..055e0f7 100644 (file)
@@ -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)
 
index c3c0dfe..3fb2e79 100644 (file)
@@ -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)
 
index 0daa1b7..055e0f7 100644 (file)
@@ -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)
 
index c3c0dfe..3fb2e79 100644 (file)
@@ -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)