[ndnSIM] How to use a non-standard ndnSIM install paths

Philipp Moll philipp.moll at itec.aau.at
Wed May 3 02:04:10 PDT 2017


Hi Chris,

I am using ndnSIM from a non-standard location, because I need the 
simulator on a server without superuser access rights. ...and it works.

When I compiled ndnSIM i used the "--prefix" flag for choosing the 
location. I'm not completely sure, but I think no waf-flags are required 
for compiling the scenario. But maybe some more exports:

export LIBRARY_PATH=/[custom-path]/bin/:$LIBRARY_PATH
export LD_LIBRARY_PATH=/[custom-path]/bin/lib/:$LD_LIBRARY_PATH
export C_INCLUDE_PATH=/[custom-path]/bin/include/:$C_INCLUDE_PATH
export CPLUS_INCLUDE_PATH=/[custom-path]/bin/include/:$CPLUS_INCLUDE_PATH
export PKG_CONFIG_PATH=/[custom-path]/bin/lib/pkgconfig
export PATH=$PATH:/[custom-path]/bin/

This are all exports on my machine, not all of them were needed for 
ndnSIM. But maybe one of them is required for your installation.

The exact flag for compiling ndnSIM was "--prefix=/[custom-path]/bin" in 
my case.

Regards,
Philipp

On 03/05/17 10:52, Chris Mantis wrote:
> Hi Philipp, It is not helping. I think this two exports IMO would take 
> care of loading dynamic libraries at run time. I am having issues with 
> compiling itself. There are bundle of headers from ndnSIM, which I am 
> trying to use/include in my 'scenario' and only way I see at the 
> moment is to install the ndnSIM in default (/usr/local/) path. Does 
> this make sense?
>
> On Wed, May 3, 2017 at 12:39 AM, Philipp Moll 
> <philipp.moll at itec.aau.at <mailto:philipp.moll at itec.aau.at>> wrote:
>
>     Hi Chris,
>
>     have you tried exporting the "LD_LIBRARY_PATH" and the
>     "PKG_CONFIG_PATH" variables? Compiling the scenario worked for me
>     after the following exports.
>
>     export LD_LIBRARY_PATH=/[custom-path]/bin/lib/:$LD_LIBRARY_PATH
>
>     export PKG_CONFIG_PATH=/[custom-path]/bin/lib/pkgconfig
>
>     Regards, Philipp
>     On 03/05/17 09:26, Chris Mantis wrote:
>>     Hi, While using the 'scenario template structure' (as mentioned
>>     at the bottom of this page:
>>     http://ndnsim.net/2.3/getting-started.html
>>     <http://ndnsim.net/2.3/getting-started.html>), I fail to
>>     understand which (waf) configure options to use while configuring
>>     my scenario s.t. it uses the non-standard ndnSIM install paths to
>>     build my template base use case.
>>     Note: I have cloned the ndnSIM code base and configured it using
>>     --prefix option so that I install it in a non-standard location.
>>     any help?
>>     Chris.
>>
>>     _______________________________________________
>>     ndnSIM mailing list
>>     ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
>>     http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>>     <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim>
>     _______________________________________________ ndnSIM mailing
>     list ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
>     http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim
>     <http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20170503/80c5c2af/attachment-0001.html>


More information about the ndnSIM mailing list