Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bcc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
bcc
Commits
ba275e4c
Commit
ba275e4c
authored
May 06, 2016
by
Brenden Blanco
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #531 from kivikakk/lua-install-docs
Lua installation instructions.
parents
63ff0b46
59437599
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
INSTALL.md
INSTALL.md
+5
-0
No files found.
INSTALL.md
View file @
ba275e4c
...
@@ -137,6 +137,7 @@ To build the toolchain from source, one needs:
...
@@ -137,6 +137,7 @@ To build the toolchain from source, one needs:
*
LLVM 3.7 or newer, compiled with BPF support (default=on)
*
LLVM 3.7 or newer, compiled with BPF support (default=on)
*
Clang 3.7, built from the same tree as LLVM
*
Clang 3.7, built from the same tree as LLVM
*
cmake, gcc (>=4.7), flex, bison
*
cmake, gcc (>=4.7), flex, bison
*
LuaJIT, if you want Lua support
### Install build dependencies
### Install build dependencies
```
```
...
@@ -151,6 +152,9 @@ sudo apt-get update
...
@@ -151,6 +152,9 @@ sudo apt-get update
# All versions
# All versions
sudo apt-get -y install bison build-essential cmake flex git libedit-dev \
sudo apt-get -y install bison build-essential cmake flex git libedit-dev \
libllvm3.7 llvm-3.7-dev libclang-3.7-dev python zlib1g-dev libelf-dev
libllvm3.7 llvm-3.7-dev libclang-3.7-dev python zlib1g-dev libelf-dev
# For Lua support
sudo apt-get -y install luajit luajit-5.1-dev
```
```
### Install and compile BCC
### Install and compile BCC
...
@@ -169,6 +173,7 @@ sudo make install
...
@@ -169,6 +173,7 @@ sudo make install
```
```
sudo dnf install -y bison cmake ethtool flex git iperf libstdc++-static \
sudo dnf install -y bison cmake ethtool flex git iperf libstdc++-static \
python-netaddr python-pip gcc gcc-c++ make zlib-devel
python-netaddr python-pip gcc gcc-c++ make zlib-devel
sudo dnf install -y luajit luajit-devel # for Lua support
sudo dnf install -y \
sudo dnf install -y \
http://pkgs.repoforge.org/netperf/netperf-2.6.0-1.el6.rf.x86_64.rpm
http://pkgs.repoforge.org/netperf/netperf-2.6.0-1.el6.rf.x86_64.rpm
sudo pip install pyroute2
sudo pip install pyroute2
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment