error in waf

1,048 views
Skip to first unread message

Ayoub Abdellaoui

unread,
Feb 5, 2014, 7:57:46 AM2/5/14
to ns-3-...@googlegroups.com
when i run my the ./waf or ./waf --run myscript i got this error:

Waf: The wscript in '/home/ayoub/workspace/ns-allinone-3.19/ns-3.19' is unreadable
Traceback (most recent call last):
  File "/home/ayoub/workspace/ns-allinone-3.19/ns-3.19/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Scripting.py", line 87, in waf_entry_point
    set_main_module(Context.run_dir+os.sep+Context.WSCRIPT_FILE)
  File "/home/ayoub/workspace/ns-allinone-3.19/ns-3.19/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Scripting.py", line 112, in set_main_module
    Context.g_module=Context.load_module(file_path)
  File "/home/ayoub/workspace/ns-allinone-3.19/ns-3.19/.waf-1.7.13-5a064c2686fe54de4e11018d22148cfc/waflib/Context.py", line 281, in load_module
    exec(compile(code,path,'exec'),module.__dict__)
  File "/home/ayoub/workspace/ns-allinone-3.19/ns-3.19/wscript", line 38, in <module>
    import cflags # override the build profiles from waf
ImportError: No module named cflags


help please!!!!!

Tommaso Pecorella

unread,
Feb 5, 2014, 1:49:15 PM2/5/14
to ns-3-...@googlegroups.com
Hi,

have you tried this ?
./waf distclean
./waf configure
./waf

Hope this fixes your issues,

T.

Ayoub Abdellaoui

unread,
Feb 5, 2014, 7:10:30 PM2/5/14
to ns-3-...@googlegroups.com
it's OK now thank you for your help !!


2014-02-05 Tommaso Pecorella <tomm...@gmail.com>:

--
You received this message because you are subscribed to a topic in the Google Groups "ns-3-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-3-users/XrIbgjLm5zI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.
To post to this group, send email to ns-3-...@googlegroups.com.
Visit this group at http://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/groups/opt_out.

Sergio Zumpano Arnosti

unread,
Apr 3, 2019, 10:15:08 PM4/3/19
to ns-3-users
I am getting exactly the same error, how did you fix that ??

Thanks


2014-02-05 Tommaso Pecorella <tomm...@gmail.com>:
To unsubscribe from this group and all its topics, send an email to ns-3-...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages