Skip to content

Instantly share code, notes, and snippets.

@bullekeup
Last active May 17, 2018 08:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bullekeup/c04559f7cb75d5565706fd5146cc8538 to your computer and use it in GitHub Desktop.
Save bullekeup/c04559f7cb75d5565706fd5146cc8538 to your computer and use it in GitHub Desktop.
NS3 version 3.26 with dce linux 1.9 installation script sample (to be used with relevant patches, see https://gist.github.com/bullekeup)
#!/bin/bash
[[ -e bakefile.xml ]] && rm bakefile.xml
[[ -e ./build ]] && rm -Rf ./build
bake.py configure -e dce-linux-1.9 -e netanim-3.107 -e nsc-0.5.3 -e pyviz-prerequisites \
-e click-ns-3.25 -e openflow-ns-3.25 -e gccxml-ns3 -e gawk -e wget \
-e iproute-2.6.38 -e iperf -e pybindgen-0.17.0.post57+nga6376f2 \
-e BRITE -e libaspect -e openflow-dev
bake.py download -vvv
bake.py clean
[[ -e ./source/castxml/objdir ]] && rm -Rf ./source/castxml/objdir
[[ -e ./source/gccxml/objdir ]] && rm -Rf ./source/gccxml/objdir
[[ -e ./source/openflow-dev ]] && cd ./source/openflow-dev && (./waf clean || true) && ./waf distclean && cd -
[[ -e ./source/pybindgen ]] && rm -Rf ./source/pybindgen
bake.py deploy -o gccxml-ns3
bake.py deploy -o python-dev
bake.py deploy -o setuptools
bake.py deploy -o elf-loader
bake.py deploy -o libaspect
bake.py deploy -o openflow-dev
bake.py deploy -o pybindgen-0.17.0.post57+nga6376f2
bake.py build -vvv 2>&1 | tee build-results.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment