Junxiao Shi | 6ca4881 | 2015-03-26 23:14:19 -0700 | [diff] [blame] | 1 | # ndn-tools Build Instructions |
| 2 | |
| 3 | This document describes how to build and install ndn-tools. |
| 4 | |
| 5 | ## Prerequisites |
| 6 | |
| 7 | Building ndn-tools requires [ndn-cxx](http://named-data.net/doc/ndn-cxx/current/) |
| 8 | to be installed. |
| 9 | Please see [Getting Started with ndn-cxx](http://named-data.net/doc/ndn-cxx/current/INSTALL.html) |
| 10 | on how to install ndn-cxx. |
| 11 | Note: if you have installed ndn-cxx from a binary package, please make sure development headers |
| 12 | are installed (if using Ubuntu PPA, `ndn-cxx-dev` package is needed). |
| 13 | |
| 14 | Any operating system and compiler supported by ndn-cxx are supported by ndn-tools. |
| 15 | |
| 16 | ## Build Steps |
| 17 | |
| 18 | Waf meta build system is used by ndn-tools. |
| 19 | |
| 20 | To configure, compile, and install ndn-tools, type the following commands |
| 21 | in ndn-tools source directory: |
| 22 | |
| 23 | ./waf configure |
| 24 | ./waf |
| 25 | sudo ./waf install |
| 26 | |
| 27 | To uninstall ndn-tools: |
| 28 | |
| 29 | sudo ./waf uninstall |