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 | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 10 | - `NFD <http://named-data.net/doc/NFD/current/>`_ and its requirements: |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 11 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 12 | Refer to `Getting started with NFD <http://named-data.net/doc/NFD/current/INSTALL.html>`_ |
| 13 | for detailed installation and running instruction. |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 14 | |
Ashlesh Gawande | 415676b | 2016-12-22 00:26:23 -0600 | [diff] [blame^] | 15 | - ChronoSync library |
| 16 | |
| 17 | :: |
| 18 | |
| 19 | https://github.com/named-data/ChronoSync#build |
| 20 | |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 21 | - log4cxx library |
| 22 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 23 | On Ubuntu Linux: |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 24 | |
| 25 | :: |
| 26 | |
| 27 | sudo apt-get install liblog4cxx10-dev |
| 28 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 29 | On OS X with MacPorts: |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 30 | |
| 31 | :: |
| 32 | |
| 33 | sudo port install log4cxx |
| 34 | |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 35 | Build |
| 36 | ----- |
| 37 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 38 | Execute the following commands to build NLSR: |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 39 | |
| 40 | :: |
| 41 | |
| 42 | ./waf configure |
| 43 | ./waf |
| 44 | sudo ./waf install |
| 45 | |
Alexander Afanasyev | 7decbbf | 2014-08-24 21:29:01 -0700 | [diff] [blame] | 46 | Refer to ``./waf –help`` for more options that can be used during the configure stage and |
| 47 | how to properly configure NLSR. |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 48 | |
Vince Lehman | 59dfac3 | 2015-04-29 12:37:26 -0500 | [diff] [blame] | 49 | 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] | 50 | configure`` |
Vince Lehman | b722b10 | 2014-08-24 16:33:49 -0500 | [diff] [blame] | 51 | |
| 52 | :: |
| 53 | |
| 54 | export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ |
| 55 | or |
Vince Lehman | 59dfac3 | 2015-04-29 12:37:26 -0500 | [diff] [blame] | 56 | export PKG_CONFIG_PATH=/path/to/pkgconfig/on/your/machine |