[Mini-NDN] Error in installing mini-ndn

Alexander Wilhelm Lane (awlane) awlane at memphis.edu
Tue Apr 2 11:09:04 PDT 2024


Also, would you still provide your Linux distro and version number? I want to see if my fixes to the automatic install script are avoiding this case.
-Alex

________________________________
From: Alexander Wilhelm Lane (awlane) <awlane at memphis.edu>
Sent: Tuesday, April 2, 2024 11:23 AM
To: Salwa Abdelwahed <salwa201067 at gmail.com>
Cc: mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>; Lan Wang (lanwang) <lanwang at memphis.edu>
Subject: Re: [Mini-NDN] Error in installing mini-ndn

Good morning,
Compiler warnings relating to documentation are likely ignorable for now for the purposes of running experiments locally if you can access online documentation, although it's evidently using a separate pip package if you would like to clear this issue (https://pypi.org/project/sphinxcontrib-doxylink/). We likely need to ensure these are both installed automatically.
The link flags pattern is something I've observed in my own builds without issue and is not something I'm entirely clear on, you can probably find more info on the waf build process and why that shows up twice by emailing the NFD mailing list or by manual examination of the waf config.
Regarding the face register issue, I received a separate email about that today; I believe it is simply not correctly handling output for face updates that are not marked as a failure on the nfdc side. I will push up a change ASAP but I believe you should be safe to ignore it for the time being.
-Alex Lane
________________________________
From: Salwa Abdelwahed <salwa201067 at gmail.com>
Sent: Tuesday, April 2, 2024 6:56 AM
To: Alexander Wilhelm Lane (awlane) <awlane at memphis.edu>
Cc: mini-ndn at lists.cs.ucla.edu <mini-ndn at lists.cs.ucla.edu>; Lan Wang (lanwang) <lanwang at memphis.edu>
Subject: Re: [Mini-NDN] Error in installing mini-ndn

CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and trust the content is safe.

HI Alexander,
THANKS for response
 NO , I installed ndn-cxx and sphinx the compatible version with python 3.10.
the new problems are :
1.installing NFD :
1) In put : ./waf configure --without-websocket
Output : Checking supported LINKFLAGS             : not found
Checking supported LINKFLAGS                      : -Wl,-O1
'configure' finished successfully (3.467s)
2)  ./waf
build' finished successfully (0.839s)
3) sudo ./waf install
WARNING: Extension 'sphinxcontrib.doxylink' not found. Some documentation may not build correctly.
install' finished successfully (0.324s)

2.Installing ndn-cxx :
1) ./waf configure
Building static library                  : no
Checking supported LINKFLAGS             : not found
hecking the flags needed to use pthreads : not found
Checking supported LINKFLAGS              : -Wl,-O1
'configure' finished successfully (4.425s)
2) ./waf
sphinx_build: docs/conf.py docs/manpages/ndn-client.conf.rst docs/manpages/ndn-log.rst docs/manpages/ndnsec-cert-dump.rst docs/manpages/ndnsec-cert-gen.rst docs/manpages/ndnsec-cert-install.rst docs/manpages/ndnsec-delete.rst docs/manpages/ndnsec-export.rst docs/manpages/ndnsec-get-default.rst docs/manpages/ndnsec-import.rst docs/manpages/ndnsec-key-gen.rst docs/manpages/ndnsec-list.rst docs/manpages/ndnsec-set-default.rst docs/manpages/ndnsec-sign-req.rst docs/manpages/ndnsec-unlock-tpm.rst docs/manpages/ndnsec.rst -> build/docs/manpages/ndnsec.1 build/docs/manpages/ndnsec-cert-dump.1 build/docs/manpages/ndnsec-cert-gen.1 build/docs/manpages/ndnsec-cert-install.1 build/docs/manpages/ndnsec-delete.1 build/docs/manpages/ndnsec-export.1 build/docs/manpages/ndnsec-get-default.1 build/docs/manpages/ndnsec-import.1 build/docs/manpages/ndnsec-key-gen.1 build/docs/manpages/ndnsec-list.1 build/docs/manpages/ndnsec-set-default.1 build/docs/manpages/ndnsec-sign-req.1 build/docs/manpages/ndnsec-unlock-tpm.1 build/docs/manpages/ndn-client.conf.5 build/docs/manpages/ndn-log.7
WARNING: L’entrée '_static' de html_static_path n’existe pas
WARNING: Could not find tag file ndn-cxx.tag. Make sure your `doxylink` config variable is set correctly.
build' finished successfully (2.928s)

3) sudo ./waf install
WARNING: Extension 'sphinxcontrib.doxylink' not found. Some documentation may not build correctly.
'install' finished successfully (0.424s)

3.installing NLSR
1) ./waf
'build' finished successfully (0.244s)
2) ./waf configure
Checking supported LINKFLAGS             : not found
Checking supported LINKFLAGS               : -Wl,-O1
'configure' finished successfully (1.342s)
3) sudo ./waf install
WARNING: Extension 'sphinxcontrib.doxylink' not found. Some documentation may not build correctly.
install' finished successfully (0.185s)


4.Running mini-ndn
1)./install.sh
Processing dependencies for Mini-NDN==0.5.0
Finished processing dependencies for Mini-NDN==0.5.0
['minindn', 'minindn.wifi', 'minindn.helpers', 'minindn.apps']
MiniNDN installation completed successfully

2)Running an example
sudo python examples/mnndn.py
Using topology file /usr/local/etc/mini-ndn/default-topology.conf
*** Creating network
*** Adding controller
*** Adding hosts:
a b c d
*** Adding switches:

*** Adding links:
(10ms delay) (10ms delay) (a, b) (10ms delay) (10ms delay) (a, c) (10ms delay) (10ms delay) (b, d)
*** Configuring hosts
a b c d
*** Starting controller
c0
*** Starting 0 switches

Starting NFD on nodes
Starting NLSR on nodes
[c] Face register failed: face-updated id=260 local=udp4://10.0.0.6:6363<http://10.0.0.6:6363/> remote=udp4://10.0.0.5:6363<http://10.0.0.5:6363/> persistency=permanent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
[d] Face register failed: face-updated id=260 local=udp4://10.0.0.10:6363<http://10.0.0.10:6363/> remote=udp4://10.0.0.9:6363<http://10.0.0.9:6363/> persistency=permanent reliability=off congestion-marking=on congestion-marking-interval=100ms default-congestion-threshold=65536B mtu=8800
*** Starting CLI:
mini-ndn>

sorry for the long message
Thanks

Le mar. 2 avr. 2024 à 04:04, Alexander Wilhelm Lane (awlane) <awlane at memphis.edu<mailto:awlane at memphis.edu>> a écrit :
Good evening,
I suspect your NFD issues are being triggered by the failure to install ndn-cxx as it is a dependency. Are you following the install guide here: https://minindn.memphis.edu/install.html#using-install-sh? If so, do you have sphinx installed on your system (check via pip3)? If all of these are not helpful, please provide your current distro and version numbers- there were some recent changes made to the ndn-cxx installer regarding Sphinx that may be causing issues if simpler errors are ruled out.
Thanks,
Alex L

________________________________
From: Lan Wang (lanwang) <lanwang at memphis.edu<mailto:lanwang at memphis.edu>>
Sent: Sunday, March 31, 2024 10:16 PM
To: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu> <mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>>
Subject: [Mini-NDN] Error in installing mini-ndn



Begin forwarded message:

From: Salwa Abdelwahed <salwa201067 at gmail.com<mailto:salwa201067 at gmail.com>>
Subject: Error in installing mini-ndn
Date: March 29, 2024 at 6:47:06 PM CDT
To: mini-ndn at lists.cs.ucla.edu<mailto:mini-ndn at lists.cs.ucla.edu>


Hello all ,

I'm trying to install mini-ndn , i'm always finding problems related to sphinx in installing ndn-cxx and problems in installing NFD as well , as shown in the following pictures  .
if someone can can guide me to resolve the problems .
Thanks





[image.png][1.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240402/04fd7149/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 64546 bytes
Desc: image.png
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240402/04fd7149/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1.png
Type: image/png
Size: 79070 bytes
Desc: 1.png
URL: <http://www.lists.cs.ucla.edu/pipermail/mini-ndn/attachments/20240402/04fd7149/attachment-0003.png>


More information about the Mini-NDN mailing list