install ns3.21 in ubuntu16.04 error

  • When I try to "sudo apt-get install gsl-bin libgsl0-dev libgsl0ldbl" 16.04 cannot find the package libgsl0ldbl for the reason that libgsl0-dev is replaced by libgsl-dev and libgsl0ldbl is obslolete, now replaced by libgsl2. I don't know if it matters.

  • When I run the command "./build.py –enable-examples –enable-tests". It failed with the message :

    Build NS-3

  • Entering directory ./ns-3.25' Traceback (most recent call last): File "./build.py", line 171, in sys.exit(main(sys.argv)) File "./build.py", line 162, in main build_ns3(config, build_examples, build_tests, args, build_options) File "./build.py", line 81, in build_ns3 run_command(cmd) # waf configure ... File "/home/limeng/ns3/ns-allinone-3.25/util.py", line 20, in run_command print(" => ", ' '.join(argv))` UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)


    I personally tried to do that and it didn't worth the trouble at all so I ended up installing it on Ubuntu 14.04.

    In case you have no other choice, try watching this tutorial

    链接地址: http://www.djcxy.com/p/9302.html

    上一篇: 如何使用argparse将参数传递给python函数?

    下一篇: 在ubuntu16.04错误中安装ns3.21