blob: d1e89f1ad69b4ec2030caab364486d351c082255 [file] [log] [blame]
Vince Lehmanb722b102014-08-24 16:33:49 -05001NLSR Installation Instructions
2==============================
3
4.. toctree::
5..
6
7Prerequisites
8-------------
9
10- `NFD`_ and its requirements:
11
12Refer to `Getting started with NFD`_ for detailed installation and running instruction.
13
14- log4cxx library
15
16 On Linux:
17
18 ::
19
20 sudo apt-get install liblog4cxx10-dev
21
22 On Mac OSx:
23
24 ::
25
26 sudo port install log4cxx
27
28- protobuf
29
30 On Linux:
31
32 ::
33
34 sudo apt-get install libprotobuf-dev protobuf-compiler
35
36 On Mac OSx:
37
38 ::
39
40 sudo port install protobuf-cpp
41
42Build
43-----
44
45The following commands should be used to build NLSR:
46
47::
48
49 ./waf configure
50 ./waf
51 sudo ./waf install
52
53Refer to ./waf help for more options that can be used during the configure
54stage and how to properly configure NLSR.
55
56If your pkgconfig path is not set properly you can do following before
57running ``./waf configure``
58
59::
60
61 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
62 or
63 export PKG_CONFIG_PATH=/path/to/pkgconfig/in/your/machine
64
65.. _NFD: http://named-data.net/doc/NFD/current/
66.. _Getting started with NFD: http://named-data.net/doc/NFD/current/INSTALL.html