<div dir="ltr">Hello,<div><br></div><div>I am attempting to execute a code, and this is the output of the ./waf config </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Setting top to                           : /home/ndn/ndnSIM/crosndn<br>Setting out to                           : /home/ndn/ndnSIM/crosndn/build<br>Checking for 'g++' (c++ compiler)        : /usr/bin/g++<br>Checking boost includes                  : 1_71<br>Checking boost libs                      : ok<br>Checking for boost linkage               : ok<br>Checking for program pkg-config          : /usr/bin/pkg-config<br>Checking for pkg-config version >= '0.0.0' : yes<br>Checking for ns3-core                      : not found<br>NS-3 or one of the required NS-3 modules not found<br>NS-3 needs to be compiled and installed somewhere.  You may need also to set PKG_CONFIG_PATH variable in order for configure find installed NS-3.<br>For example:<br>    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./waf configure<br><br>(complete log in /home/ndn/ndnSIM/crosndn/build/config.log)<br>The project was not configured: run "waf configure" first!<br></blockquote><div><br></div><div>This is part of the config.log file </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">------------------------------------------<br>Checking for ns3-core<br>['/usr/bin/pkg-config', '--cflags', '--libs', 'libns3-dev-core-optimized']<br>err: Package libns3-dev-core-optimized was not found in the pkg-config search path.<br>Perhaps you should add the directory containing `libns3-dev-core-optimized.pc'<br>to the PKG_CONFIG_PATH environment variable<br>No package 'libns3-dev-core-optimized' found<br><br>not found<br>from /home/ndn/ndnSIM/crosndn: The configuration failed<br>from /home/ndn/ndnSIM/crosndn:<br></blockquote><div> </div><div>And this is part of the wscript </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">MANDATORY_NS3_MODULES = ['core', 'network', 'point-to-point', 'applications', 'mobility', 'ndnSIM']<br>OTHER_NS3_MODULES = ['antenna', 'aodv', 'bridge', 'brite', 'buildings', 'click', 'config-store', 'csma', 'csma-layout', 'dsdv', 'dsr', 'emu', 'energy', 'fd-net-device', 'flow-monitor', 'internet', 'lte', 'mesh', 'mpi', 'netanim', 'nix-vector-routing', 'olsr', 'openflow', 'point-to-point-layout', 'propagation', 'spectrum', 'stats', 'tap-bridge', 'topology-read', 'uan', 'virtual-net-device', 'visualizer', 'wifi', 'wimax']<br><br>def configure(conf):<br>    conf.load("compiler_cxx boost ns3")<br><br>    conf.check_boost(lib='system iostreams')<br>    boost_version = conf.env.BOOST_VERSION.split('_')<br>    if int(boost_version[0]) < 1 or int(boost_version[1]) < 48:<br>        Logs.error ("ndnSIM requires at least boost version 1.48")<br>        Logs.error ("Please upgrade your distribution or install custom boost libraries (<a href="http://ndnsim.net/faq.html#boost-libraries" target="_blank">http://ndnsim.net/faq.html#boost-libraries</a>)")<br>        exit (1)<br><br>    try:<br>        conf.check_ns3_modules(MANDATORY_NS3_MODULES)<br>        for module in OTHER_NS3_MODULES:<br>            conf.check_ns3_modules(module, mandatory = False)<br>    except:<br>        Logs.error ("NS-3 or one of the required NS-3 modules not found")<br>        Logs.error ("NS-3 needs to be compiled and installed somewhere.  You may need also to set PKG_CONFIG_PATH variable in order for configure find installed NS-3.")<br>        Logs.error ("For example:")<br>        Logs.error ("    PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./waf configure")<br>        conf.fatal ("")<br></blockquote><div><br></div>I have set the config path as shown below, but I still get the same error:<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">PKG_CONFIG_PATH=/usr/local/lib/pkgconfig ./waf configure -v -optimized --boost-libs=/usr/lib/x86_64-linux-gnu<br>./waf<br></blockquote><div><br></div><div>Please help. </div></div>