diff --git a/docs/source/getting-started.rst b/docs/source/getting-started.rst index 174905133..4747449fc 100644 --- a/docs/source/getting-started.rst +++ b/docs/source/getting-started.rst @@ -142,12 +142,26 @@ Compiling and running ndnSIM ndnSIM uses a standard NS-3 compilation procedure. Normally the following commands should be sufficient to configure and build ndnSIM with python bindings enabled: +.. code-block:: bash + + cd + ./waf configure + ./waf + sudo ./waf install + .. code-block:: bash cd ./waf configure --enable-examples ./waf +If you wish to specify the python version to be used then use the following command while configuring: + +.. code-block:: bash + + ./waf configure --python= + + On macOS (with MacPorts), you may need to modify the configure command to use MacPorts version of python: