<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>I saw similar errors before and it was caused by multiple versions of boost installed.</div><div><br></div><div>Did you specify correct --boost-libs and --boost-includes configure flags?<br><br>---<div>Alex</div></div><div><br>On May 7, 2014, at 11:01 AM, "Lan Wang (lanwang)" <<a href="mailto:lanwang@memphis.edu">lanwang@memphis.edu</a>> wrote:<br><br></div><blockquote type="cite"><div>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<base href="x-msg://1487/">


One of my students is trying to install nfd and ndn-cxx on CentOS (we have several Ubuntu nodes installed already).  Below are some errors he ran into.  I know CentOS is not supported yet.  If this problem is something fixable, then we'd like to know how.  <br>
<div><br>
<div>Begin forwarded message:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From:
</b></span><span style="font-family:'Helvetica'; font-size:medium;">"Ashlesh Gawande (agawande)" <<a href="mailto:agawande@memphis.edu">agawande@memphis.edu</a>><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject:
</b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>ndn-cxx error on CentOs</b><br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Date:
</b></span><span style="font-family:'Helvetica'; font-size:medium;">May 7, 2014 11:49:52 AM CDT<br>
</span></div>
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">
<span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>To:
</b></span><span style="font-family:'Helvetica'; font-size:medium;">"Lan Wang (lanwang)" <<a href="mailto:lanwang@memphis.edu">lanwang@memphis.edu</a>><br>
</span></div>
<br>
<div dir="ltr" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<div id="OWAFontStyleDivID" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto; ">
<div id="OWAFontStyleDivID" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; ">
<div style="margin-top: 0px; margin-bottom: 0px; ">I installed boost successfully on centOS (it was missing bzip2 devel)<br>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<blockquote type="cite">
<div dir="ltr" style="font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">
<div id="OWAFontStyleDivID" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; position: static; z-index: auto; ">
<div id="OWAFontStyleDivID" style="font-size: 12pt; background-color: rgb(255, 255, 255); font-family: Calibri, Arial, Helvetica, sans-serif; ">
<div style="margin-top: 0px; margin-bottom: 0px; ">This is the error I get while installing :<br>
</div>
<div style="margin-top: 0px; margin-bottom: 0px; "><br>
</div>
<div>[37/72] cxxprogram: build/tools/ndncatchunks3.cpp.1.o -> build/tools/ndncatchunks3</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `exists':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `remove':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:496: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `exists':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `remove':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:496: undefined reference to `boost::filesystem::detail::remove(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `operator/':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'</div>
<div>/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `path<char*>':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path::codecvt()'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `operator/':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'</div>
<div>/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `create_directories':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:399: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(sec-tpm-file.cpp.1.o): In function `operator=<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:202: undefined reference to `boost::filesystem::path::codecvt()'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `path<char*>':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path::codecvt()'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':</div>
<div>/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:58: undefined reference to `boost::filesystem::path::operator/=(char const*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `exists':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `current_path':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:429: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':</div>
<div>/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:61: undefined reference to `boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'</div>
<div>/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:67: undefined reference to `boost::filesystem::path::operator/=(char const*)'<br>
</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `exists':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `current_path':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:429: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':</div>
<div>/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:71: undefined reference to `boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `exists':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:289: undefined reference to `boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `current_path':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:429: undefined reference to `boost::filesystem::detail::current_path(boost::system::error_code*)'</div>
<div>./libndn-cxx.a(config-file.cpp.1.o): In function `ndn::ConfigFile::findConfigFile()':</div>
<div>/home/ndnuser/ndn-cxx/build/../src/util/config-file.cpp:78: undefined reference to `boost::filesystem::absolute(boost::filesystem::path const&, boost::filesystem::path const&)'</div>
<div>./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `path<char*>':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:139: undefined reference to `boost::filesystem::path::codecvt()'</div>
<div>./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `operator/':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'</div>
<div>./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `create_directories':</div>
<div>/usr/local/include/boost/filesystem/operations.hpp:399: undefined reference to `boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*)'</div>
<div>./libndn-cxx.a(sec-public-info-sqlite3.cpp.1.o): In function `operator/':</div>
<div>/usr/local/include/boost/filesystem/path.hpp:648: undefined reference to `boost::filesystem::path::operator/=(boost::filesystem::path const&)'</div>
<div>collect2: ld returned 1 exit status<br>
</div>
<div style="margin-top: 0px; margin-bottom: 0px; "><br>
</div>
<div style="margin-top: 0px; margin-bottom: 0px; ">Ashlesh<br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>


</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Nfd-dev mailing list</span><br><span><a href="mailto:Nfd-dev@lists.cs.ucla.edu">Nfd-dev@lists.cs.ucla.edu</a></span><br><span><a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a></span><br></div></blockquote></body></html>