Skip to content

Commit 46f33d3

Browse files
lguohanShuotian Cheng
authored and
Shuotian Cheng
committed
doc: Updating build procedure
Signed-off-by: Guohan Lu <[email protected]>
1 parent f5351d6 commit 46f33d3

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.md

+12-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[![Build Status](https://sonic-jenkins.westus.cloudapp.azure.com/job/sonic-swss-build/badge/icon)](https://sonic-jenkins.westus.cloudapp.azure.com/job/sonic-swss-build/)
22

3-
# SONiC - Switch State Service - SwSS
3+
# SONiC - SWitch State Service - SWSS
44

55
## Description
6-
The Switch State Service (SwSS) is a collection of software that provides a database interface for communication with and state representation of network applications and network switch hardware.
6+
The SWitch State Service (SWSS) is a collection of software that provides a database interface for communication with and state representation of network applications and network switch hardware.
77

88
## Getting Started
99

@@ -26,26 +26,33 @@ There are a few different ways you can install SONiC-SWSS.
2626

2727
For your convenience, you can install prepared packages on Debian Jessie:
2828

29-
sudo apt-get install sonic-swss
29+
sudo apt-get install swss
3030

3131
#### Install from Source
3232

3333
Checkout the source: `git clone https://github.com/Azure/sonic-swss.git` and install it yourself.
34+
35+
Get SAI header files into /usr/include/sai. Put the SAI header files that you use to compile
36+
libsairedis into /usr/include/sai
37+
3438
Get `fpm.h` header file before compiling:
3539

3640
mkdir fpmsyncd/fpm
3741
wget http://git.savannah.gnu.org/cgit/quagga.git/plain/fpm/fpm.h -O fpmsyncd/fpm/fpm.h
3842

43+
Install prerequisite packages:
44+
45+
sudo apt-get install libswsscommon libswsscommon-dev libsairedis libsairedis-dev
46+
3947
You can compile and install from source using:
4048

4149
./autogen.sh
42-
./configure
50+
./configure -with-fpm=fpm
4351
make && sudo make install
4452

4553
You can also build a debian package using:
4654

4755
./autogen.sh
48-
./configure
4956
fakeroot debian/rules binary
5057

5158
## Need Help?

0 commit comments

Comments
 (0)