[ndnSIM] Compling error in ndnSIM-ddos-interest-flooding
江左盟总萌主
2050336525 at qq.com
Sun Apr 1 20:17:54 PDT 2018
Hi,
I want to run the following scenario: https://github.com/cawka/ndnSIM-ddos-interest-flooding .I inputted the command as follows:
mkdir ndnSIM
cd ndnSIM
git clone https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
git clone https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
git clone --recursive https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM
cd ns-3
./waf configure ./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib
./waf
./waf install
cd ndnSIM-ddos-interest-flooding
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib
Then ,it gave me as follows:
Setting top to : /root/ndnSIM/ndnSIM-ddos-interest-flooding
Setting out to : /root/ndnSIM/ndnSIM-ddos-interest-flooding/build
Checking for 'g++' (c++ compiler) : /usr/bin/g++
Checking for compiler flags -std=c++11 : yes
Checking boost includes : 1_62
Checking boost libs : ok
Checking for boost linkage : ok
Checking for program pkg-config : /usr/bin/pkg-config
Checking for pkg-config version >= '0.0.0' : yes
Checking for ns3-ndnSIM : not found
NS-3 or one of the required NS-3 modules not found
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.
For example:
PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./waf configure
(complete log in /root/ndnSIM/ndnSIM-ddos-interest-flooding/build/config.log)
I also try input “PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH ./waf configure”,but it didn’t work and output as above.
Can anyone give a solution for that?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20180402/c30f9072/attachment.html>
More information about the ndnSIM
mailing list