error compilation in ns3

51 views
Skip to first unread message

Zhayra

unread,
May 20, 2024, 5:15:47 PMMay 20
to ns-3-users
I'm trying to implement blockchain in ns-3.29 and I face this error  (see picture) when I run this command from github code  ' ./Waf distclean ' and it still mentioned for any other command so please who's can help me  

Capture222222222222222.PNG

Tommaso Pecorella

unread,
May 20, 2024, 5:27:16 PMMay 20
to ns-3-users
ns-3.29 is really old. You might need to use python 2 instead of python 3.

I hope you have a good reason to use 3.29... we hardly support older ns-3 version - and this is really too old (for your reference, we're at 3.41).

Zohra Bouali

unread,
May 21, 2024, 6:36:16 PMMay 21
to ns-3-...@googlegroups.com
Yes, I know the latest release, but my project is compatible with ns-3.29, so that's why I used it.

--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-3-users/b37bbd9a-c57f-42df-a8bc-5227e6bf6bd7n%40googlegroups.com.

Zohra Bouali

unread,
May 21, 2024, 6:36:19 PMMay 21
to ns-3-...@googlegroups.com
please how can fix the error of unexpected indent

Tommaso Pecorella

unread,
May 21, 2024, 6:42:32 PMMay 21
to ns-3-users
Let's try again, perhaps I was not clear.
  • Make sure you're using python 2 and not python3.
  • We can not offer support on something we can't even run.
  • When 3.29 was shipped everything was working - your best bet is to install and use the same *@#%$ OS/compiler/python version that was listed in the RELEASE_NOTES, meaning:
    • - Ubuntu 18.04 (64 bit) with g++-7.3.0 and Python 2.7.15
    • - Ubuntu 16.04 (64 bit) with g++-5.4.0 and Python 2.7.12/3.5.2
    • - Fedora Core 28 (64 bit) with g++-8.1.1 and Python 2.7.15/3.7.0
    • - Fedora Core 26 (64 bit) with g++-7.3.1 and Python 2.7.14/3.6.5
Mind that python 3 wasn't really tested enough, so DO NOT USE IT.

And, if this was not clear enough... We can not offer support on something we can't even run.

Gabriel Ferreira

unread,
May 22, 2024, 11:00:14 PMMay 22
to ns-3-users
You fix the indentation. It is literally telling you the line where it happened.
It either needs a few extra spaces, or less.
Someone probably copy-pasted something that they shouldn't.

Zohra Bouali

unread,
May 24, 2024, 1:36:30 PMMay 24
to ns-3-...@googlegroups.com
Thanks for help  😊

Reply all
Reply to author
Forward
0 new messages