[Nfd-dev] Error in building ndn-cxx

Junxiao Shi shijunxiao at email.arizona.edu
Thu Mar 15 03:08:49 PDT 2018


Hi Aman

You need ‘./waf distclean’ on the source tree after changing any system
packages.
You don’t need ‘sudo’ before ‘./waf’. Since you mistakenly ran ‘sudo
./waf’, you’ll have to do ‘sudo ./waf distclean’ once to clear the error.

Yours, Junxiao

On Thu, Mar 15, 2018 at 02:28 Aman Maldar <amanmaldar at gmail.com> wrote:

> Hello Everyone,
> I came across the same error, [Error in building ndn-cxx]
>
> I am using 0.6.1 release. I have installed NFD using mini-ndn installation
> using automatic dependency installation.
> mini-ndn$ sudo ./install.sh -a
> This used to work fine earlier on 0.6.0 release.
>
> following is the link to discussion,
>
> http://www.lists.cs.ucla.edu/pipermail/ndn-interest/2017-December/002024.html
>
> solution suggested -
> (
>
> try to remove sphinxcontrib-doxylink python module (something wrong with the one you have)
>
> )
>
> However, after uninstalling module, I am getting error asking to install
> it again,
>
>
> ------------------------------
> lenovo at lenovo-VirtualBox:~/mini-ndn/ndn-cxx$ sudo ./waf
> Waf: Entering directory `/home/lenovo/mini-ndn/ndn-cxx/build'
> Extension 'sphinxcontrib.doxylink' in not available. Some documentation
> may not build correctly.
> To install, use
>   sudo pip install sphinxcontrib-doxylink
> [200/203] Processing sphinx_build [man]: 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 docs/conf.py
> -> build/docs/manpages/ndnsec.1 build/docs/manpages/ndnsec-cert-dump.1
> build/docs/manpages/ndnsec-cert-gen.1
> build/docs/manpages/ndnsec-cert-instal.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
>
> Traceback (most recent call last):
>   File "/usr/local/bin/sphinx-build", line 7, in <module>
>     from sphinx.cmd.build import main
> ImportError: No module named cmd.build
>
> Waf: Leaving directory `/home/lenovo/mini-ndn/ndn-cxx/build'
> Build failed
>  -> task in 'manpages' failed with exit status 1 (run with -v to display
> more information)
>
>
> Can someone guide me on this. Thank you in advance.
>
> --
> *Regards,*
> *Mr. Maldar Aman M.*
> *University of Massachusetts, Lowell*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20180315/376c2a29/attachment.html>


More information about the Nfd-dev mailing list