blob: f54163a7289db54ba5f41d393c82c2b71fbb502e [file] [log] [blame]
Vince Lehmanb722b102014-08-24 16:33:49 -05001NLSR Installation Instructions
2==============================
3
4.. toctree::
5..
6
7Prerequisites
8-------------
9
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070010- `NFD <http://named-data.net/doc/NFD/current/>`_ and its requirements:
Vince Lehmanb722b102014-08-24 16:33:49 -050011
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070012Refer to `Getting started with NFD <http://named-data.net/doc/NFD/current/INSTALL.html>`_
13for detailed installation and running instruction.
Vince Lehmanb722b102014-08-24 16:33:49 -050014
Ashlesh Gawande415676b2016-12-22 00:26:23 -060015- ChronoSync library
16
17 ::
18
19 https://github.com/named-data/ChronoSync#build
20
Vince Lehmanb722b102014-08-24 16:33:49 -050021- log4cxx library
22
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070023 On Ubuntu Linux:
Vince Lehmanb722b102014-08-24 16:33:49 -050024
25 ::
26
27 sudo apt-get install liblog4cxx10-dev
28
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070029 On OS X with MacPorts:
Vince Lehmanb722b102014-08-24 16:33:49 -050030
31 ::
32
33 sudo port install log4cxx
34
Vince Lehmanb722b102014-08-24 16:33:49 -050035Build
36-----
37
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070038Execute the following commands to build NLSR:
Vince Lehmanb722b102014-08-24 16:33:49 -050039
40::
41
42 ./waf configure
43 ./waf
44 sudo ./waf install
45
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070046Refer to ``./waf help`` for more options that can be used during the configure stage and
47how to properly configure NLSR.
Vince Lehmanb722b102014-08-24 16:33:49 -050048
Vince Lehman59dfac32015-04-29 12:37:26 -050049If your pkgconfig path is not set properly you can do the following before running ``./waf
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070050configure``
Vince Lehmanb722b102014-08-24 16:33:49 -050051
52::
53
54 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
55 or
Vince Lehman59dfac32015-04-29 12:37:26 -050056 export PKG_CONFIG_PATH=/path/to/pkgconfig/on/your/machine