Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 1 | NLSR Installation Instructions |
| 2 | ============================== |
| 3 | |
| 4 | .. toctree:: |
| 5 | .. |
| 6 | |
| 7 | Prerequisites |
| 8 | ------------- |
| 9 | |
Alexander Afanasyev | 67758b1 | 2018-03-06 18:36:44 -0500 | [diff] [blame] | 10 | - `NFD <https://named-data.net/doc/NFD/>`_ and its requirements: |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 11 | |
Alexander Afanasyev | 67758b1 | 2018-03-06 18:36:44 -0500 | [diff] [blame] | 12 | Refer to `Getting started with NFD <https://named-data.net/doc/NFD/current/INSTALL.html>`_ |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 13 | for detailed installation and running instruction. |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 14 | |
David Arjona | 2fa23ea | 2018-11-28 11:50:38 -0600 | [diff] [blame^] | 15 | - ChronoSync library: |
| 16 | |
| 17 | Download the ChronoSync library and build it according to the instructions at the following |
| 18 | address: |
Ashlesh Gawande | 415676b | 2016-12-22 00:26:23 -0600 | [diff] [blame] | 19 | |
| 20 | :: |
| 21 | |
| 22 | https://github.com/named-data/ChronoSync#build |
| 23 | |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 24 | Build |
| 25 | ----- |
| 26 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 27 | Execute the following commands to build NLSR: |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 28 | |
| 29 | :: |
| 30 | |
| 31 | ./waf configure |
| 32 | ./waf |
| 33 | sudo ./waf install |
| 34 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 35 | Refer to ``./waf –help`` for more options that can be used during the configure stage and |
| 36 | how to properly configure NLSR. |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 37 | |
Vince Lehman | 59dfac3 | 2015-04-29 12:37:26 -0500 | [diff] [blame] | 38 | If your pkgconfig path is not set properly you can do the following before running ``./waf |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 39 | configure`` |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 40 | |
| 41 | :: |
| 42 | |
| 43 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ |
| 44 | or |
Vince Lehman | 59dfac3 | 2015-04-29 12:37:26 -0500 | [diff] [blame] | 45 | export PKG_CONFIG_PATH=/path/to/pkgconfig/on/your/machine |