[ndnSIM] Boost libs folder path on Ubuntu 13.10 changed, configure failing
loti at di.unito.it
Thu Jan 30 16:47:26 PST 2014
I’ve started playing around a bit with your ns-3 module for my PhD thesis (module which I find very very well done), but I stumbled on a few problems at the beginnings, which where kinda hard to pinpoint or find other people having the same problem, so I guess I’ll just tell you here. ;)
First (and most important) by following the instructions on your site on Ubuntu 13.10 the ndnSIM module won’t compile, as during ./waf configure the boost libs are not found.
The default version is 1.53, but the library aren’t in /usr/lib, /usr/lib32 or /usr/lib64 which is where war looks for them. They actually are (talking about the 64bit lib version) in
so to be able to find them you have to issue the following command
./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu/ --enable-examples
Then again, while it will include ndnSIM as a module to compile, when issuing the ./waf command it will stop due to an unused typedef warning (which is also pointed out by Bilal here: http://www.lists.cs.ucla.edu/pipermail/ndnsim/2014-January/001084.html).
So the REALLY correct command is:
CXXFLAGS="-O0 -g" ./waf configure --boost-libs=/usr/lib/x86_64-linux-gnu/ --enable-examples
So, TL;DR version, an additional path to search for the boost libraries should be added and it would be very nice if that warning could be resolved to avoid tweaks… or at least both tricks should be listed on the otherwise very helpful site as a temporary solution!
I may be able to help and contribute some code to resolve the issues, but it will have to wait a few as my time is sucked dry by thesis demons right now! ;)
Well, hope it helps and glad to be here! ;)
More information about the ndnSIM