[Nfd-dev] need volunteer to test EthernetFace on OSX and Boost 1.57

Josh Polterock josh at caida.org
Wed Dec 17 16:20:32 PST 2014


On Wed, Dec 17, 2014 at 03:59:59PM -0700, Junxiao Shi wrote:
> Hi Josh
> 
> Thanks again for your offer.
> Since Alex and Davide fail to provide you instructions on how to test this
> Change in past 15 days, I'll try to give you some simple instructions.
> 
> On hostA (OSX box with Boost 1.57):
> 
>    - recompile and install ndn-cxx, latest version from GitHub
>    - recompile and install NFD
>       - after git clone, use the following command to checkout a branch
>       under review:
>       git fetch http://gerrit.named-data.net/NFD refs/changes/44/1444/5 &&
>       git checkout FETCH_HEAD
>       - then compile and install as usual

During the compile I get the following error:

[ 51/105] Compiling daemon/mgmt/face-manager.cpp
../daemon/mgmt/status-server.cpp:66:25: error: reference to type 'const
std::string' (aka 'const basic_string<char, char_traits<char>,
allocator<char> >') could not bind to an rvalue of type 'int'
  status->setNfdVersion(NFD_VERSION);
                        ^~~~~~~~~~~
/Users/josh/Downloads/NFD/build/version.hpp:41:21: note: expanded from
macro 'NFD_VERSION'
#define NFD_VERSION 2000
                    ^~~~
/opt/local/include/ndn-cxx/management/nfd-forwarder-status.hpp:84:36:
note: passing argument to parameter 'nfdVersion' here
  setNfdVersion(const std::string& nfdVersion);
                                   ^
1 error generated.

Waf: Leaving directory `/Users/josh/Downloads/NFD/build'
Build failed
 -> task in 'daemon-objects' failed (exit status 1): 
    {task 4550484496: cxx status-server.cpp -> status-server.cpp.3.o}
['/usr/bin/clang++', '-std=c++0x', '-std=c++11', '-stdlib=libc++',
'-pedantic', '-Wall', '-O2', '-g', '-fPIC', '-include',
'/Users/josh/Downloads/NFD/build/core-objects.2',
'-I/Users/josh/Downloads/NFD/build/daemon',
'-I/Users/josh/Downloads/NFD/daemon',
'-I/Users/josh/Downloads/NFD/build', '-I/Users/josh/Downloads/NFD',
'-I/Users/josh/Downloads/NFD/build/core',
'-I/Users/josh/Downloads/NFD/core', '-I/opt/local/include',
'-I/Users/josh/Downloads/NFD/websocketpp', '-DHAVE_NDN_CXX=1',
'../daemon/mgmt/status-server.cpp', '-c', '-o',
'/Users/josh/Downloads/NFD/build/daemon/mgmt/status-server.cpp.3.o']
tao:~/Downloads/NFD $ 




>    - recompile and install ndn-tlv-ping, latest version from GitHub
> 
> On hostB (either another OSX with Boost 1.57, or any Ubuntu version):
> 
>    - recompile and install ndn-cxx, latest version from GitHub
>    - recompile and install NFD
>       - after git clone, use the following command to checkout a branch
>       under review:
>       git fetch http://gerrit.named-data.net/NFD refs/changes/44/1444/5 &&
>       git checkout FETCH_HEAD
>       - then compile and install as usual
>    - recompile and install ndn-tlv-ping, latest version from GitHub
> 
> 
>    1. on both hosts: execute `nfd-start`
>    2. on hostA: execute `nfd-status -f | grep 'dev='`, find the number
>    after "id="
>    3. on hostA: execute `nfdc register /A 8888`, substitute 8888 with the
>    number found in step 2
>    4. on hostB: run `ndnpingserver /A`
>    5. on hostA: run `ndnping /A`, and press CTRL+C after about 20 seconds
> 
> Report back with the output from step 3~5.
> 
> Yours, Junxiao
> 
> On Tue, Dec 2, 2014 at 11:52 AM, Josh Polterock <josh at caida.org> wrote:
> >
> > Junxiao,
> >
> > O.k. I have the boost 1.57 libraries manually installed. I specified
> > no library-name-list options so everything should be there.
> >
> > Josh
> >
> > On Mon, Dec 01, 2014 at 05:27:17PM -0700, Junxiao Shi wrote:
> > > Hi Josh
> > >
> > > Thanks for your offer.
> > > Boost 1.57 isn't in MacPorts or HomeBrew yet, so it needs to be installed
> > > manually from source code.
> > >
> > > Yours, Junxiao
> > > On Dec 1, 2014 5:10 PM, "Josh Polterock" <josh at caida.org> wrote:
> > >
> > > > Junxiao,
> > > >
> > > > I have an iMac 27-inch, Mid 2010, running  OS X 10.9.5.
> > > >
> > > > When I do a 'sudo port selfupdate' followed by 'sudo port upgrade
> > > > outdated' I get
> > > > boost-1.56.0_2+no_single+no_static+python27.darwin_13.x86_64.tbz2
> > > >
> > > > Would I need to manually install boost 1.57?
> > > >
> > > > Josh
> > > >
> > > > On Tue, Nov 25, 2014 at 11:29:16PM -0700, Junxiao Shi wrote:
> > > > > Dear folks
> > > > >
> > > > > Is anyone on this mailing list running OSX (any of 10.8 10.9 10.10)
> > with
> > > > > Boost 1.57 installed?
> > > > > We need a volunteer to test some code on this specific platform.
> > > > > Please reply-all if you have a machine with this setup.
> > > > >
> > > > > Yours, Junxiao
> > > >
> > > > > _______________________________________________
> > > > > Nfd-dev mailing list
> > > > > Nfd-dev at lists.cs.ucla.edu
> > > > > http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
> > > >
> > > >
> >



More information about the Nfd-dev mailing list