<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Thanks Muhammad, but it does not work.<div class=""><br class=""><div class="">I guess that the error is not from the cryptopp, because when I tried without python “./waf configure --disable-python --enable-examples”, the configuration passed.</div><div class="">I noticed that there is a problem about the linkage of boost: <span class=""><br class=""><blockquote type="cite" class="">Checking for boost linkage                                         : Could not link against boost libraries using supplied options<br class=""></blockquote><div class=""><span class=""><br class=""></span></div>But the weird thing is that the boost works well in the “pure” ns-3: like ns-allinone-3.25. The </span>linkage of boost is ok during the configuration.</div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">I then removed the boost which I installed from MacPorts, and  manually reinstalled from the source code, but it did not work neither in our ndnSIM.</span></div><div class=""><span class=""><br class=""></span></div><div class=""><span class="">I have no idea now</span>…</div><div class=""><span class=""><br class=""></span><span class=""><div class="">--<br class="">Wei YOU<br class="">Cyber Engineering School<br class="">XiDian University<br class="">Xi'an China<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class=""></div></span>
<br class=""><div><blockquote type="cite" class=""><div class="">在 2017年3月29日,18:52,Muhammad Hosain Abdollahi Sabet <<a href="mailto:mhasabet@gmail.com" class="">mhasabet@gmail.com</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class=""><div class="">Hi,</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Try --with-cryptopp /address/to/cryptolib</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">I dont know about the address in Mac. But it worked in Ubuntu. </div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Sabet</div><div dir="auto" class=""><br class=""></div><div dir="auto" class=""><div class="gmail_extra" dir="auto"><div class="gmail_quote">On 29 Mar 2017 12:15 pm, "wyou" <<a href="mailto:wyou@xidian.edu.cn" class="">wyou@xidian.edu.cn</a>> wrote:<br type="attribution" class=""><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br class="">
<br class="">
I got this error message when I compile the ndnSIM. OS: Mac OS X 10.11.6 El Capitan, and I installed all the dependencies from the MacPorts. Could someone help me out? Thanks!<br class="">
Here is the error message:<br class="">
-------<br class="">
Yohan-MBP:ns-3 yohan$ ./waf configure --with-python --enable-examples<br class="">
Setting top to                           : /Users/yohan/WorkingSpace/<wbr class="">Recherche/Simulations/NDN/<wbr class="">ndnSIM/ns-3<br class="">
Setting out to                           : /Users/yohan/WorkingSpace/<wbr class="">Recherche/Simulations/NDN/<wbr class="">ndnSIM/ns-3/build<br class="">
Checking for 'clang' (C compiler)        : /usr/bin/clang<br class="">
Checking for cc version                  : 8.0.0<br class="">
Checking for 'clang++' (C++ compiler)    : /usr/bin/clang++<br class="">
Checking supported compiler CXXFLAGS     : -std=c++0x -std=c++11<br class="">
Checking supported optimizations CXXFLAGS : -O0<br class="">
Checking supported debug CXXFLAGS         : -ggdb -g3<br class="">
Checking supported warnings CXXFLAGS      : -Wall -Wno-error=deprecated-<wbr class="">declarations -fstrict-aliasing -Wstrict-aliasing<br class="">
Checking for program 'python'             : /Library/Frameworks/Python.<wbr class="">framework/Versions/2.7/<wbr class="">Resources/Python.app/Contents/<wbr class="">MacOS/Python<br class="">
Checking for python version               : (2, 7, 12, 'final', 0)<br class="">
python-config                             : /opt/local/bin/python2.7-<wbr class="">config<br class="">
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes<br class="">
Getting pyembed flags from python-config                           : yes<br class="">
Asking python-config for pyext '--cflags --libs --ldflags' flags   : yes<br class="">
Getting pyext flags from python-config                             : yes<br class="">
Checking for compilation flag -Wno-array-bounds... support         : ok<br class="">
Checking for pybindgen location                                    : ../pybindgen (guessed)<br class="">
Checking for python module 'pybindgen'                             : 0.17.0.post45+ng4806e4f<br class="">
Checking for pybindgen version                                     : 0.17.0.post45+ng4806e4f<br class="">
Checking for code snippet                                          : no<br class="">
Checking for types uint64_t and unsigned long equivalence          : yes<br class="">
Checking for code snippet                                          : yes<br class="">
Checking for types uint64_t and unsigned long long equivalence     : no<br class="">
Checking for the apidefs that can be used for Python bindings      : gcc-ILP32<br class="">
Checking for internal GCC cxxabi                                   : incomplete<br class="">
Checking for python module 'pygccxml'                              : 1.8.0<br class="">
Checking for pygccxml version                                      : 1.8.0<br class="">
Checking for program 'gccxml'                                      : /usr/local/bin/gccxml<br class="">
Checking for gccxml version                                        : 0.9.0<br class="">
Checking boost includes                                            : 1_59<br class="">
Checking boost libs                                                : ok<br class="">
Checking for boost linkage                                         : Could not link against boost libraries using supplied options<br class="">
Checking for click location                                        : not found<br class="">
Checking for program 'pkg-config'                                  : /opt/local/bin/pkg-config<br class="">
Checking for 'gtk+-2.0' >= 2.12                                    : yes<br class="">
Checking for 'libxml-2.0' >= 2.7                                   : yes<br class="">
Checking for type uint128_t                                        : not found<br class="">
Checking for type __uint128_t                                      : yes<br class="">
Checking high precision implementation                             : 128-bit integer (default)<br class="">
Checking for header stdint.h                                       : yes<br class="">
Checking for header inttypes.h                                     : yes<br class="">
Checking for header sys/inttypes.h                                 : not found<br class="">
Checking for header sys/types.h                                    : yes<br class="">
Checking for header sys/stat.h                                     : yes<br class="">
Checking for header dirent.h                                       : yes<br class="">
Checking for header stdlib.h                                       : yes<br class="">
Checking for header signal.h                                       : yes<br class="">
Checking for header pthread.h                                      : yes<br class="">
Checking for header stdint.h                                       : yes<br class="">
Checking for header inttypes.h                                     : yes<br class="">
Checking for header sys/inttypes.h                                 : not found<br class="">
Checking for library rt                                            : not found<br class="">
Checking for header sys/ioctl.h                                    : yes<br class="">
Checking for header net/if.h                                       : yes<br class="">
Checking for header net/ethernet.h                                 : yes<br class="">
Checking for header linux/if_tun.h                                 : not found<br class="">
Checking for header netpacket/packet.h                             : not found<br class="">
Checking for NSC location                                          : not found<br class="">
Checking for program 'doxygen'                                     : /usr/local/bin/doxygen<br class="">
Checking for program 'tar'                                         : /usr/bin/tar<br class="">
Checking for program 'sphinx-build'                                : not found<br class="">
Checking for std::is_default_constructible                         : no<br class="">
Checking for std::is_nothrow_move_<wbr class="">constructible                    : no<br class="">
Checking for std::is_nothrow_move_<wbr class="">assignable                       : no<br class="">
Checking for std::to_string                                        : no<br class="">
Checking for std::vector::insert with const_iterator               : no<br class="">
Checking for library pthread                                       : yes<br class="">
Checking for 'sqlite3'                                             : yes<br class="">
Checking Crypto++ lib                                              : 5.6.3<br class="">
Checking if CryptoPP library works                                 : no<br class="">
Checking if CryptoPP library works                                 : no<br class="">
CryptoPP is present, but is not usable<br class="">
(complete log in /Users/yohan/WorkingSpace/<wbr class="">Recherche/Simulations/NDN/<wbr class="">ndnSIM/ns-3/build/config.log)<br class="">
—————<br class="">
<br class="">
<br class="">
--<br class="">
Wei YOU<br class="">
Cyber Engineering School<br class="">
XiDian University<br class="">
Xi'an China<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
ndnSIM mailing list<br class="">
<a href="mailto:ndnSIM@lists.cs.ucla.edu" class="">ndnSIM@lists.cs.ucla.edu</a><br class="">
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim" rel="noreferrer" target="_blank" class="">http://www.lists.cs.ucla.edu/<wbr class="">mailman/listinfo/ndnsim</a><br class="">
</blockquote></div><br class=""></div></div></div>
</div></blockquote></div><br class=""></div></div></body></html>