[Ndn-interest] ndnSIM 2.7 Build Failing

Patrick Zidek Patrick.Zidek at myport.ac.uk
Tue Mar 26 14:55:22 PDT 2024


So I just can't seem to work it out. For every potential fix, it always
fails. I wonder if someone just has a working VM image where ndnSIM 2.7 (or
even older as long as CsTrace works..) so I could just run my tests without
losing sleep over this :).

Regards!

On Tue, 26 Mar 2024 at 21:17, Patrick Zidek <Patrick.Zidek at myport.ac.uk>
wrote:

> Thanks, Davide! ..Exactly what I tried.
>
> Ubuntu 18.04 in a VM, tried building without pybindgen too.
>
> test at ubuntu:~$ lsb_release -a|grep Description
>>
>>    - Description: Ubuntu 18.04.6 LTS
>>
>>
> sudo apt-get update
>> sudo apt install build-essential libsqlite3-dev libboost-all-dev
>> libssl-dev git python-setuptools castxml
>> sudo apt install python-dev python-pygraphviz python-kiwi python-gnome2
>> ipython libcairo2-dev python3-gi libgirepository1.0-dev python-gi
>> python-gi-cairo gir1.2-gtk-3.0 gir1.2-goocanvas-2.0 python-pip
>> sudo pip install --upgrade pip
>> sudo pip install pygraphviz pycairo PyGObject pygccxml
>
>
> mkdir ndnSIM
>> cd ndnSIM
>> git clone --branch ns-3.29
>> https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
>> git clone --branch ndnSIM-2.7 --recursive
>> https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM
>> cd ns-3
>> ./waf configure --disable-python --enable-examples
>> ./waf
>
>
> And I'm getting the following errors:
> 1. In ndn-cxx/encoding/tlv.hpp:
>    error: ‘ValueType’ was not declared in this scope
>
> 2. In ndn-cxx/encoding/block-helpers.hpp:
>    error: ‘std::make_unique’ has not been declared
>
> 3. In ndn-cxx/encoding/block-helpers.hpp:
>    error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
>
> 4. In ndn-cxx/util/time.hpp:
>    error: ‘enable_if_t’ in namespace ‘std’ does not name a template type
>
> 5. In ndn-cxx/util/time.hpp:
>    error: expected ‘>’ before ‘<’ token
>
> 6. In ndn-cxx/util/signal/signal.hpp:
>    error: lambda capture initializers only available with -std=c++14 or
> -std=gnu++14 [-Werror]
>
> 7. In NFD/core/common.hpp:
>    error: ‘string_literals’ is not a namespace-name
>
> 8. In NFD/core/common.hpp:
>    error: expected namespace-name before ‘;’ token
>
> I've tried many times and sadly issues keep occurring.
>
> Kind regards
>
> Patrick
>
>
> On Tue, 26 Mar 2024 at 19:53, Davide Pesavento <davidepesa at gmail.com>
> wrote:
>
>> Hi Patrick,
>>
>> On Tue, Mar 26, 2024 at 3:27 PM Patrick Zidek via Ndn-interest
>> <ndn-interest at lists.cs.ucla.edu> wrote:
>> >
>> > Hello.
>> >
>> > Was anyone able to install ndnSIM 2.7 (not the current version) as that
>> is the last version that supported the CsTracer (
>> https://www.lists.cs.ucla.edu/pipermail/ndnsim/2023-May/006526.html).
>> >
>> > I would very much like to get it to work but my ./waf build keeps
>> failing. I am convinced this is because the packages are too new and I
>> cannot seem to be able to downgrade everything to how the old version would
>> want it.
>>
>> What is the error message? I'd try to build/run this old version of
>> ndnSIM on a comparably old version of Ubuntu, such as 18.04, perhaps
>> in a VM. Might have better luck.
>>
>> >
>> > I was also not sure what branches exactly I'd need for ndnSIM 2.7, I
>> tried the following:
>> > git clone --branch ns-3.29
>> https://github.com/named-data-ndnSIM/ns-3-dev.git ns-3
>>
>> ns-3.29 should be correct based on the release notes:
>> https://ndnsim.net/2.7/RELEASE_NOTES.html
>>
>> > git clone --branch 0.20.1
>> https://github.com/named-data-ndnSIM/pybindgen.git pybindgen
>>
>> Not sure about this (I didn't check), but pybindgen should not be
>> required if you don't need the python bindings.
>>
>> > git clone --branch ndnSIM-2.7 --recursive
>> https://github.com/named-data-ndnSIM/ndnSIM.git ns-3/src/ndnSIM
>> >
>> > If anyone could assist, I'd be very grateful.
>> >
>> > Thank you.
>> >
>> > Patrick
>> > _______________________________________________
>> > Ndn-interest mailing list
>> > Ndn-interest at lists.cs.ucla.edu
>> > https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20240326/5a6aad64/attachment.html>


More information about the Ndn-interest mailing list