<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hello Everyone, <div><br></div><div>I am trying to build ndnSIM in Mac OS X. I am unable to compile and having issues with boost. I installed latest boost version along with the iostream libraries. I followed all the instructions regarding the issue on the ndnSIM website and other boost issue related website but still I could not figure out the problem. My build log is as follows:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Junaids-MacBook-Pro:ns-3 junaidahmedkhan$ ./waf configure --boost-includes=$BOOSTDIR/include --boost-libs=$BOOSTDIR/lib --enable-examples --enable-ndn-plugins=topology,mobility</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Setting top to : <span style="color: #34bd26">/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);"><span style="color: #000000">Setting out to : </span>/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/build<span style="color: #000000"> </span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for 'gcc' (c compiler) : <span style="color: #34bd26">/usr/bin/gcc</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for cc version : <span style="color: #34bd26">4.2.1</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for 'g++' (c++ compiler) : <span style="color: #34bd26">/usr/bin/g++</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);"><span style="color: #000000">Checking for program python : </span>/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python<span style="color: #000000"> </span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for python version : <span style="color: #34bd26">(2, 7, 7, 'final', 0)</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for library python2.7 in LIBDIR : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo; color: rgb(52, 189, 38);"><span style="color: #000000">Checking for program python-config : </span>/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config<span style="color: #000000"> </span></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header Python.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for compilation flag -fvisibility=hidden... support : <span style="color: #34bd26">ok</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for compilation flag -Wno-array-bounds... support : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for pybindgen location : <span style="color: #34bd26">../pybindgen (guessed)</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for python module 'pybindgen' : <span style="color: #34bd26">ok</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for pybindgen version : <span style="color: #34bd26">0.16.0.898</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for types uint64_t and unsigned long equivalence : <span style="color: #34bd26">no</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for types uint64_t and unsigned long long equivalence : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for the apidefs that can be used for Python bindings : <span style="color: #34bd26">gcc-ILP32</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for internal GCC cxxabi : <span style="color: #afad24">incomplete</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for python module 'pygccxml' : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking boost includes : <span style="color: #34bd26">ok</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking boost libs : <span style="color: #34bd26">ok</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for boost linkage : <span style="color: #34bd26">ok</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for click location : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for program pkg-config : <span style="color: #34bd26">/opt/local/bin/pkg-config</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for 'gtk+-2.0' >= 2.12 : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for 'libxml-2.0' >= 2.7 : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for type uint128_t : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for type __uint128_t : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking high precision time implementation : <span style="color: #34bd26">128-bit integer</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header stdint.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header inttypes.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header sys/inttypes.h : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header sys/types.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header sys/stat.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header dirent.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header stdlib.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header signal.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header pthread.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header stdint.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header inttypes.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header sys/inttypes.h : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for library rt : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header netpacket/packet.h : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header sys/ioctl.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header net/if.h : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header net/ethernet.h : <span style="color: #34bd26">yes</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header linux/if_tun.h : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for header netpacket/packet.h : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Checking for NSC location : <span style="color: #afad24">not found</span> </div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Traceback (most recent call last):</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Scripting.py", line 97, in waf_entry_point</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> run_commands()</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Scripting.py", line 153, in run_commands</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> ctx=run_command(cmd_name)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Scripting.py", line 146, in run_command</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> ctx.execute()</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Configure.py", line 128, in execute</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> super(ConfigurationContext,self).execute()</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 87, in execute</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> self.recurse([os.path.dirname(g_module.root_path)])</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 128, in recurse</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> user_function(self)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/wscript", line 371, in configure</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> conf.recurse('src')</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 128, in recurse</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> user_function(self)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/src/wscript", line 63, in configure</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> conf.recurse(module, mandatory=False)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Context.py", line 128, in recurse</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> user_function(self)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> File "/Users/junaidahmedkhan/Desktop/ndnSIM/ns-3/src/ndnSIM/wscript", line 64, in configure</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"> boost_version = conf.env.BOOST_VERSION.split('_')</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">AttributeError: 'bool' object has no attribute ‘split'</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div>Looking forward for your kind response?</div><div><br></div><div>Thanks </div><div><br class="webkit-block-placeholder"></div><div>
<div>Kind Regards,<br><br><br>Junaid Ahmed Khan<br>+33.7.58.04.64.34</div>
</div>
<br></div></body></html>