<div dir="ltr"><div>Dear folks</div><div><br></div><div>During the recent NDN hackathon, I have made improvements to the Mini-NDN installation script, fixing all problems listed below.</div><div>If you have a chance, please help test and review the updated script: <a href="https://gerrit.named-data.net/c/mini-ndn/+/6517" target="_blank">https://gerrit.named-data.net/c/mini-ndn/+/6517</a></div><div><br></div><div>You may download the code with these steps:</div><div><ol><li>Clone Mini-NDN repository as usual.</li><li>Go to the above link, click the "DOWNLOAD" button on the top-right corner of the file list, and copy the command under "reset to".</li><li>Run the copied command in the Mini-NDN repository.</li></ol></div><div><br></div><div>Note that the script requires Ubuntu 20.04 instead of 18.04.</div><div>After your reviews, I hope the change can be merged quickly so that future installations would be easier.<br></div><div><br></div><div>Yours, Junxiao</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Aug 14, 2021 at 7:01 PM Junxiao Shi <<a href="mailto:shijunxiao@email.arizona.edu" target="_blank">shijunxiao@email.arizona.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Dear folks</div><div><br></div><div>I'm trying to setup Mini-NDN (revision <span style="font-family:monospace">578f2ec695e6918f86f2837068c1f66d2ccf26c3</span>) on Ubuntu 18.04 following the guide in docs/install.rst , and I noticed two dependency issues.<br></div><div>I'm using a Utah Emulab d710 PC with system image <span style="font-family:monospace">urn:publicid:IDN+<a href="http://emulab.net" target="_blank">emulab.net</a>+image+emulab-ops:UBUNTU18-64-STD</span>.</div><div><font size="4"><br><font size="6">ImportError: No module named mn_wifi.cli</font></font></div><div>The command given for "install without CCL" is:<span style="font-family:monospace"> ./install.sh -mni</span></div><div>I added <span style="font-family:monospace">-q</span> flag for automated installation, which completed without errors.<br></div><div>However, Mini-NDN installed with this command is unusable:</div><div><span style="font-family:monospace">sjx@n:~/mini-ndn$ sudo python examples/mnndn.py<br>Traceback (most recent call last):<br> File "examples/mnndn.py", line 27, in <module><br> from minindn.util import MiniNDNCLI<br> File "/users/sjx/mini-ndn/minindn/util.py", line 30, in <module><br> from mn_wifi.cli import CLI as CLI_wifi<br>ImportError: No module named mn_wifi.cli</span><br></div><div><br></div><div>It seems that Mininet-WiFi is a required dependency of Mini-NDN, intentionally or not.</div><div>If it should have been an optional dependency, the runtime scripts should have necessary checks.</div><div>If it should have been a required dependency, the documentation and script should be revised.<br></div><div><br></div><div><font size="6">/usr/bin/ld: cannot find -lnl-route-3</font></div><div>I also tried the quiet installation command: <span style="font-family:monospace">./install.sh -qa</span><br></div><div>The installation completes, and basic verification passes.</div><div>However, there's an error in the console output:</div><div><span style="font-family:monospace">/usr/bin/ld: cannot find -lnl-route-3<br>collect2: error: ld returned 1 exit status<br>Makefile:1882: recipe for target 'wpa_supplicant' failed<br>make: *** [wpa_supplicant] Error 1</span></div><div><br></div><div>If I install the <span style="font-family:monospace">libnl-route-3-dev</span> package before installing Mini-NDN, the installation would succeed without the above error.<br></div><div>Please add it to the script.<br></div><div><br></div><div><font size="6">cp: cannot stat 'topologies/minindn.testbed.conf': No such file or directory<br></font></div><div>Another error is:</div><div><span style="font-family:monospace">cp: cannot stat 'topologies/minindn.testbed.conf': No such file or directory<br>cp: cannot stat 'topologies/current-testbed.conf': No such file or directory<br></span></div><div>These files no longer exist but are referenced in install.sh.<br></div><div><br></div><div>Yours, Junxiao<br></div></div>
</blockquote></div></div>