NS3-18 Error

205 views
Skip to first unread message

RajeshKumar Ramraj

unread,
Sep 5, 2013, 2:24:25 AM9/5/13
to ns-3-...@googlegroups.com
I am trying to build NS3.13 in Ubuntu 12.10 and I am getting this error when I configure waf "
 CXXFLAGS="-O3" ./waf configure "



---- Summary of optional NS-3 features:
Python Bindings               : enabled
Python API Scanning Support   : enabled
BRITE Integration             : not enabled (BRITE not enabled (see option --with-brite))
NS-3 Click Integration        : not enabled (nsclick not enabled (see option --with-nsclick))
GtkConfigStore                : enabled
XmlIo                         : enabled
Threading Primitives          : enabled
Real Time Simulator           : enabled
Emulated Net Device           : enabled
File descriptor NetDevice     : enabled
Tap FdNetDevice               : enabled
Emulation FdNetDevice         : enabled
PlanetLab FdNetDevice         : not enabled (PlanetLab operating system not detected (see option --force-planetlab))
Network Simulation Cradle     : not enabled (NSC not found (see option --with-nsc))
MPI Support                   : not enabled (option --enable-mpi not selected)
NS-3 OpenFlow Integration     : not enabled (Required boost libraries not found)
SQlite stats data output      : enabled
Tap Bridge                    : enabled
PyViz visualizer              : enabled
Use sudo to set suid bit      : not enabled (option --enable-sudo not selected)
Build tests                   : not enabled (defaults to disabled)
Build examples                : not enabled (defaults to disabled)
GNU Scientific Library (GSL)  : enabled
'configure' finished successfully (3.400s)




any clue?


Thanks,
rajesh

Koray Kokten

unread,
Sep 5, 2013, 2:33:26 AM9/5/13
to ns-3-...@googlegroups.com
where is the error?
   K.
--
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 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.

RajeshKumar Ramraj

unread,
Sep 5, 2013, 2:39:21 AM9/5/13
to ns-3-...@googlegroups.com
Hi, I am sorry I was mentioning that few things are not enabled. Is that OK for me to carry on?

Kind regards,
Rajesh


--
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/kvIQ1jv-MaY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

Lalith Suresh

unread,
Sep 5, 2013, 2:42:07 AM9/5/13
to ns-3-users
On Thu, Sep 5, 2013 at 8:39 AM, RajeshKumar Ramraj <snrr...@gmail.com> wrote:
> Hi, I am sorry I was mentioning that few things are not enabled. Is that OK
> for me to carry on?
>

Yes, unless you need any of those modules. Refer to the documentation
if you don't know what they are.
Lalith Suresh
www.lalith.in

Koray Kokten

unread,
Sep 5, 2013, 3:12:38 AM9/5/13
to ns-3-...@googlegroups.com
As an advice, I suggest you to enable examples and tests(tests are not as common as being run like examples actually, but for just in case it is better to enable them, too). You will most likely need to run them, if you are new at ns-3.
Best
  K.
On Sep 4, 2013, at 11:24 PM, RajeshKumar Ramraj <snrr...@gmail.com> wrote:

Madan Pande

unread,
Sep 6, 2013, 1:32:30 AM9/6/13
to ns-3-...@googlegroups.com
Hi,

 1. I suggest use eclipse IDE, and configure it as per instructions...Only additional caution is to write a valid .bash_aliases in main user dir in which both PATH and LD_LIBRARY_PATH of ns-3-dev (or lena) build dir is also given and netanim path as well.
 1.    ---> if not using lena code then first create a dir called repos. change to repos dir. Now download ns-3-allinone using "hg clone http://code.nsnam.org/ns-3-allinone", then change to ns-3-allinone dir and run ./download.py. Now you have a choice, you can either build only netanim (the very useful Animation tool) only by going to its dir (subdir under what will get downloaded in to ns-3-allinone), and running qmake-qt4, followed by make. Or if you wish to build every dir in ns-3-allinong (which includes ns-3-dev), you can just run ./build.py in the ns-3-allinone dir". Next go to ns-3-dev dir and run, as advised by (Koray...and Lalit):
-------> ./waf -d debug --enable-examples --enable-tests configure
and then ---> ./waf
---> On successful build you will have a list of what all modules have been built and what are optional and not built.
At this stage you can choose to run ./test.py script in ns-3-dev, which will print out on screen which modules passed the test, which failed and which were skipped. IMHO, if some tests have failed, it does not mean that the module is faulty...just use -----> ./waf --run (some example from the dir from which error was shown by test.py..), mostly it will be okey...unless you are using some special OS or Platform...[most developers are using ubuntu12.04 TLS or higher...Fedora is by and large more reliable, if you like Gnome interface]
2. If you are a user of lena or going to be, then
------> hg clone http://lena.cttc.es/hg/lena followed by
-------> ./waf -d debug --enable-examples --enable-tests --disable-python configure
----> ./waf
----> ./test.py  (ignore any reported crashes....as there can be many reasons for that...)
3. To write your own scripts, it is necessary to configure both examples and tests, since most likely your scripts to start with will be inspired by them

Happy Simulating... my two bits
With Regards,
madan

P.S. if you are not familiar with gdb, do spend some time on it...or you wont get far...


From: kokten...@gmail.com
Subject: Re: NS3-18 Error
Date: Thu, 5 Sep 2013 00:12:38 -0700
To: ns-3-...@googlegroups.com
For more options, visit https://groups.google.com/groups/opt_out., since most leikly,

RajeshKumar Ramraj

unread,
Sep 6, 2013, 1:38:27 AM9/6/13
to ns-3-...@googlegroups.com
Thanks Everyone.

I got examples and test enabled. But the modules BRITE, CLICK and OPENFLOW are not build. I am working on  LTE and I am not sure if I need those modules. Can any one suggest how to enable those modules? 

Thanks,
Rajesh


--
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/kvIQ1jv-MaY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-3-users+...@googlegroups.com.

Logan

unread,
Sep 22, 2015, 5:01:04 AM9/22/15
to ns-3-users
In the case of OpenFlow Integration error: Required boost libraries not found): I resolved it with using: apt-get install libboost-all-dev

Thanks, Logan
Reply all
Reply to author
Forward
0 new messages