build: allowing compilation with boost 1.46; removing requirement of boost-iostream library, requiring boost-graph library
diff --git a/wscript b/wscript
index 951814f..5547ff3 100644
--- a/wscript
+++ b/wscript
@@ -15,7 +15,7 @@
help=("Enable NDN plugins (may require patching). topology plugin enabled by default"),
dest='disable_ndn_plugins')
-REQUIRED_BOOST_LIBS = ['iostreams']
+REQUIRED_BOOST_LIBS = ['graph']
def required_boost_libs(conf):
conf.env.REQUIRED_BOOST_LIBS += REQUIRED_BOOST_LIBS
@@ -26,7 +26,7 @@
if not conf.env['LIB_BOOST']:
conf.report_optional_feature("ndnSIM", "ndnSIM", False,
"Required boost libraries not found")
- Logs.error ("ndnSIM will not be build as it requires boost libraries of version at least 1.48")
+ Logs.error ("ndnSIM will not be build as it requires boost libraries of version at least 1.46")
conf.env['MODULES_NOT_BUILT'].append('ndnSIM')
return
else:
@@ -50,12 +50,12 @@
return
boost_version = conf.env.BOOST_VERSION.split('_')
- if int(boost_version[0]) < 1 or int(boost_version[1]) < 48:
+ if int(boost_version[0]) < 1 or int(boost_version[1]) < 46:
conf.report_optional_feature("ndnSIM", "ndnSIM", False,
- "ndnSIM requires at least boost version 1.48")
+ "ndnSIM requires at least boost version 1.46")
conf.env['MODULES_NOT_BUILT'].append('ndnSIM')
- Logs.error ("ndnSIM will not be build as it requires boost libraries of version at least 1.48")
+ Logs.error ("ndnSIM will not be build as it requires boost libraries of version at least 1.46")
Logs.error ("Please upgrade your distribution or install custom boost libraries (http://ndnsim.net/faq.html#boost-libraries)")
return