blob: d567598f3a6c1da2ffee767dcd471f4fca91f1c3 [file] [log] [blame]
Vince Lehmanb722b102014-08-24 16:33:49 -05001NLSR Installation Instructions
2==============================
3
4.. toctree::
5..
6
7Prerequisites
8-------------
9
Alexander Afanasyev67758b12018-03-06 18:36:44 -050010- `NFD <https://named-data.net/doc/NFD/>`_ and its requirements:
Vince Lehmanb722b102014-08-24 16:33:49 -050011
Alexander Afanasyev67758b12018-03-06 18:36:44 -050012Refer to `Getting started with NFD <https://named-data.net/doc/NFD/current/INSTALL.html>`_
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070013for detailed installation and running instruction.
Vince Lehmanb722b102014-08-24 16:33:49 -050014
David Arjona2fa23ea2018-11-28 11:50:38 -060015- ChronoSync library:
16
17Download the ChronoSync library and build it according to the instructions at the following
18address:
Ashlesh Gawande415676b2016-12-22 00:26:23 -060019
20 ::
21
22 https://github.com/named-data/ChronoSync#build
23
Vince Lehmanb722b102014-08-24 16:33:49 -050024Build
25-----
26
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070027Execute the following commands to build NLSR:
Vince Lehmanb722b102014-08-24 16:33:49 -050028
29::
30
31 ./waf configure
32 ./waf
33 sudo ./waf install
34
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070035Refer to ``./waf help`` for more options that can be used during the configure stage and
36how to properly configure NLSR.
Vince Lehmanb722b102014-08-24 16:33:49 -050037
Vince Lehman59dfac32015-04-29 12:37:26 -050038If your pkgconfig path is not set properly you can do the following before running ``./waf
Alexander Afanasyev7decbbf2014-08-24 21:29:01 -070039configure``
Vince Lehmanb722b102014-08-24 16:33:49 -050040
41::
42
43 export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
44 or
Vince Lehman59dfac32015-04-29 12:37:26 -050045 export PKG_CONFIG_PATH=/path/to/pkgconfig/on/your/machine