[ndnSIM] [EXT] Configuration failed while building NFD

Swetha B swetab26 at gmail.com
Wed Oct 14 01:12:10 PDT 2020


Thank you Junxiao,
I followed the link suggested by you
https://named-data.net/doc/NFD/current/INSTALL.html#building-from-source

For me, the libndn-cxx.pc file is in ~/ndn-cxx folder. So i run following
command
export PKG_CONFIG_PATH=~/ndn-cxx/lib/pkgconfig:$PKG_CONFIG_PATH

still my buid configuration failed.

swetha at swetha-Ubuntu:~/NFD$ export
PKG_CONFIG_PATH=~/ndn-cxx/lib/pkgconfig:$PKG_CONFIG_PATH
swetha at swetha-Ubuntu:~/NFD$ ./waf configure --with-tests
Setting top to                           : /home/swetha/NFD
Setting out to                           : /home/swetha/NFD/build
Checking for 'g++' (C++ compiler)        : /usr/bin/g++
Checking C++ compiler version            : 7.5.0
Checking supported CXXFLAGS              : -std=c++14
Checking supported LINKFLAGS             : -fuse-ld=gold
Checking for program 'doxygen'           : /usr/bin/doxygen
Checking for program 'tar'               : /bin/tar
Checking for program 'sphinx-build'      : /usr/bin/sphinx-build
Checking for program 'bash'              : /bin/bash
Checking for program 'pkg-config'        : /usr/bin/pkg-config
Checking for 'libndn-cxx'                : not found
The configuration failed
(complete log in /home/swetha/NFD/build/config.log)

regards
Swetha

On Wed, Oct 14, 2020 at 1:14 AM Spyridon Mastorakis <smastorakis at unomaha.edu>
wrote:

> It is not wrong, but it is too complicated for no reason.
>
> Spyridon (Spyros) Mastorakis
> Assistant Professor
> Computer Science Department
> University of Nebraska, Omaha
> Peter Kiewit Institute Room 175A
> https://sites.google.com/site/spyridonmastorakis
>
> On Oct 13, 2020, at 1:19 PM, Junxiao Shi <shijunxiao at email.arizona.edu>
> wrote:
>
> Hi Spyros
>
> I think OP followed my guide here
> https://www.lists.cs.ucla.edu/pipermail/nfd-dev/2015-April/001023.html
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__www.lists.cs.ucla.edu_pipermail_nfd-2Ddev_2015-2DApril_001023.html&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=uZbJBP9ZXp6OKMldLY7csq5RSTj7PhED9iLjn8TaCtU&s=O9ZYXfyhaAwc1sZanI1BBlkB-NKCB7j8b_reNk8bTio&e=>
> so she cloned from Gerrit. It's not wrong doing that.
>
> Yours, Junxiao
>
>
> On Tue, Oct 13, 2020, 14:16 Spyridon Mastorakis <smastorakis at unomaha.edu>
> wrote:
>
>> *External Email*
>> What is not clear to me is the following: what is the need to clone NFD
>> from Gerrit and not from GitHub directly?
>>
>> Thanks,
>>
>> Spyridon (Spyros) Mastorakis
>> Assistant Professor
>> Computer Science Department
>> University of Nebraska, Omaha
>> Peter Kiewit Institute Room 175A
>> https://sites.google.com/site/spyridonmastorakis
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__sites.google.com_site_spyridonmastorakis&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=uZbJBP9ZXp6OKMldLY7csq5RSTj7PhED9iLjn8TaCtU&s=KbJt4imTqK7KOvDBxpkg0dosQR8chAmedWJKoSFT-JA&e=>
>>
>> On Oct 13, 2020, at 1:15 PM, Junxiao Shi via ndnSIM <
>> ndnSIM at lists.cs.ucla.edu> wrote:
>>
>> https://named-data.net/doc/NFD/current/INSTALL.html#building-from-source
>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__named-2Ddata.net_doc_NFD_current_INSTALL.html-23building-2Dfrom-2Dsource&d=DwMFaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=eI5Bh74ovG-uIXQ5ksQETSPgRFzmJXjIZXneCqw580E&m=fxyBnRLpzcYFtT1p01BRw1wOLEXJNkk8ywRZMGZEccU&s=Yncwp61GiMUi56OVc8I7ubsNyx-LxGbw2ryV913maJc&e=>
>>
>> On Tue, Oct 13, 2020, 11:43 Swetha B via ndnSIM <ndnsim at lists.cs.ucla.edu>
>> wrote:
>>
>>> *External Email*
>>> Hi all,
>>> I have cloned NFD repository from my gerrit account. While building NFD
>>> i am facing problem. I don't understand how to set the pkg_config_ path
>>> variable as suggested in NFD guide below
>>>
>>> export PKG_CONFIG_PATH=/custom/lib/pkgconfig:$PKG_CONFIG_PATH
>>>
>>>
>>>
>>> snapshot of the same is as below
>>>
>>> swetha at swetha-Ubuntu:~/NFD$ ./waf configure --with-tests
>>> Setting top to                           : /home/swetha/NFD
>>> Setting out to                           : /home/swetha/NFD/build
>>> Checking for 'g++' (C++ compiler)        : /usr/bin/g++
>>> Checking C++ compiler version            : 7.5.0
>>> Checking supported CXXFLAGS              : -std=c++14
>>> Checking supported LINKFLAGS             : -fuse-ld=gold
>>> Checking for program 'doxygen'           : /usr/bin/doxygen
>>> Checking for program 'tar'               : /bin/tar
>>> Checking for program 'sphinx-build'      : /usr/bin/sphinx-build
>>> Checking for program 'bash'              : /bin/bash
>>> Checking for program 'pkg-config'        : /usr/bin/pkg-config
>>> Checking for 'libndn-cxx'                : not found
>>> The configuration failed
>>> (complete log in /home/swetha/NFD/build/config.log)
>>>
>>> please guide me the correct way to proceed futher.
>>>
>>> Regards
>>> Swetha B.
>>> Reserach scholar
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20201014/786a3030/attachment-0001.html>


More information about the ndnSIM mailing list