[Mini-NDN] Fwd: how to compile example file

Tanusree Chatterjee tnsr.chatterjee at gmail.com
Sat Jun 3 01:04:47 PDT 2017


---------- Forwarded message ----------
From: Tanusree Chatterjee <tnsr.chatterjee at gmail.com>
Date: Sat, Jun 3, 2017 at 1:32 PM
Subject: Re: [Mini-NDN] how to compile example file
To: "Ashlesh Gawande (agawande)" <agawande at memphis.edu>


I have done the git clone and then in the cloned directory I have done "git
pull origin master" to update before waf steps. It shows it is already
updated. After building the NFD, now it again shows the same problem. The
screenshot is attached.

--Thanks & Regards,
Tanusree Chatterjee

On Thu, Jun 1, 2017 at 6:55 PM, Ashlesh Gawande (agawande) <
agawande at memphis.edu> wrote:

> Producer will not show any output unless you run the consumer.
>
>
> If you did git clone once - that is enough. Just go to the
> cloned directory and do "git pull origin master" to update.
>
> Then do the waf steps again.
>
>
> Ashlesh
> ------------------------------
> *From:* Tanusree Chatterjee <tnsr.chatterjee at gmail.com>
> *Sent:* Thursday, June 1, 2017 5:39:34 AM
> *To:* Ashlesh Gawande (agawande)
> *Cc:* DIMPAL SUTAR; mini-ndn at lists.cs.ucla.edu
>
> *Subject:* Re: [Mini-NDN] how to compile example file
>
> Hello,
>
> I faced the same problem while compiling the examples. Though the
> consumer.cpp and consumer-with-timer.cpp are compiled, the producer.cpp is
> not showing any output.
>
> Another confusion is that should not I get the latest version of ndn-cxx
> from the link
> git clone https://github.com/named-data/ndn-cxx ?
>
> After getting the problem in NFD build, instead of the above I have used
> the following to get the latest version. Though my problem has not been
> resolved.
>
> git pull https://github.com/named-data/ndn-cxx.git
>
>
> --Thanks & Regards,
> Tanusree Chatterjee
>
> On Tue, May 30, 2017 at 9:02 PM, Ashlesh Gawande (agawande) <
> agawande at memphis.edu> wrote:
>
>> It is supposed to be stuck waiting (listening) for an interest:
>> https://github.com/named-data/ndn-cxx/blob/master/examples/p
>> roducer.cpp#L46
>>
>> Run consumer on another terminal.
>> (Consumer sends an interest to producer).
>>
>> You can then use control-C to exit the producer.
>>
>> Ashlesh
>> ------------------------------
>> *From:* DIMPAL SUTAR <dimpal.s at somaiya.edu>
>> *Sent:* Tuesday, May 30, 2017 10:26:10 AM
>> *To:* Ashlesh Gawande (agawande)
>> *Subject:* Re: [Mini-NDN] how to compile example file
>>
>> Hi,
>> To install Mini-ndn, I started the installation with its prerequisite
>> library ndn-cxx, for that, I referred the steps from this link-
>> https://named-data.net/doc/ndn-cxx/current/INSTALL.html
>>
>> step 1
>> sudo apt-get install build-essential libcrypto++-dev libsqlite3-dev
>> libboost-all-dev libssl-dev
>>
>> step 2
>> sudo apt-get install doxygen graphviz python-sphinx python-pip
>> sudo pip install sphinxcontrib-doxylink sphinxcontrib-googleanalytics
>>
>> then I downloaded (step 3)
>>
>> ndn-cxx library from :
>> git clone https://github.com/named-data/ndn-cxx
>>
>> step 4
>> ./waf configure --with-examples
>> ./waf
>> sudo ./waf install
>>
>> step 5
>> sudo ldconfig
>>
>> then to I tested the example files
>>
>> by
>> ./build/examples/producer,
>>
>> Here I am stucked for the output, and not able to decode my mistake in installation
>>
>>
>> On Tue, May 30, 2017 at 8:43 PM, Ashlesh Gawande (agawande) <
>> agawande at memphis.edu> wrote:
>>
>>> Can you please send the step by step process that you did?
>>>
>>>
>>> Ashlesh
>>> ------------------------------
>>> *From:* Mini-NDN <mini-ndn-bounces at lists.cs.ucla.edu> on behalf of
>>> DIMPAL SUTAR <dimpal.s at somaiya.edu>
>>> *Sent:* Tuesday, May 30, 2017 12:26:36 AM
>>> *To:* Mini-NDN at lists.cs.ucla.edu
>>> *Subject:* [Mini-NDN] how to compile example file
>>>
>>> Hi,
>>> I have a query related to the installation of Mini-NDN. After building
>>> the pre-requisite ndn-cxx library, I tried to run the example provided by
>>> the library itself. But when I entered the command to run the example file
>>> (Producer.cpp), nothing is coming to the terminal window (the process of
>>> compilation remains as it is forever). Does this compilation of example
>>> file take too much time?? I think I have done something wrong, but not able
>>> to figure out... can anyone help me
>>>
>>>
>>> --Thank you
>>> Ms. Dimpal S. Sutar
>>> Student of M.Tech Electronics, KJSCE, Mumbai
>>>
>>>
>>> <http://www.somaiya.edu>             <http://www.somaiya.edu/kjsmc>
>>> <http://www.nareshwadi.org> <http://www.somaiya.edu>
>>> <http://www.helpachild.in> <http://nareshwadi.org>
>>>
>>
>>
>>
>> --
>> Miss. Dimpal S. Sutar
>> Student of M.Tech Electronics, KJSCE
>>
>>
>> <http://www.somaiya.edu>             <http://www.somaiya.edu/kjsmc>
>> <http://www.nareshwadi.org> <http://www.somaiya.edu>
>> <http://www.helpachild.in> <http://nareshwadi.org>
>>
>> _______________________________________________
>> Mini-NDN mailing list
>> Mini-NDN at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/mini-ndn
>>
>>
>
>
> --
> Tanusree Chatterjee
>



-- 
Tanusree Chatterjee



-- 
Tanusree Chatterjee
M:9836337175
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20170603/6dff5f24/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2017-06-03 13-28-12.png
Type: image/png
Size: 260639 bytes
Desc: not available
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20170603/6dff5f24/attachment-0001.png>


More information about the Mini-NDN mailing list