ns-3 installation

694 views
Skip to first unread message

Mahmudul Chowdhury

unread,
May 6, 2011, 1:54:14 PM5/6/11
to ns-3-users
Hello users,
I am trying to install ns-3 into my computer. I have ubuntu 10.04 and
I downloaded ns-3 and followed all the instructions and built with
Waf. But when I run the tests I get the following results.
shagor@shagor:~/repos/ns-3-allinone/ns-3-dev$ ./test.py -c core
Waf: Entering directory `/home/shagor/repos/ns-3-allinone/ns-3-dev/
build'
Waf: Leaving directory `/home/shagor/repos/ns-3-allinone/ns-3-dev/
build'
'build' finished successfully (0.645s)

Modules built:
aodv applications
bridge
click config-store
core
csma csma-layout
dsdv
emu energy flow-
monitor
internet lte
mesh
mobility mpi
netanim
network nix-vector-routing
ns3tcp
ns3wifi olsr
openflow
point-to-point point-to-point-layout
propagation
spectrum stats tap-
bridge
template test
tools
topology-read uan virtual-net-
device
visualizer wifi
wimax


0 of 0 tests passed (0 passed, 0 skipped, 0 failed, 0 crashed, 0
valgrind errors)
and then I tried to run Hello world but I get this error message:

shagor@shagor:~/repos/ns-3-allinone/ns-3-dev$ ./waf --run hello-
simulator
Waf: Entering directory `/home/shagor/repos/ns-3-allinone/ns-3-dev/
build'
program 'hello-simulator' not found; available programs are: ['emu-
sock-creator', 'src/emu/emu-sock-creator', 'tap-creator', 'src/tap-
bridge/tap-creator', 'wifi-phy-test', 'src/wifi/wifi-phy-test', 'test-
runner', 'utils/test-runner', 'bench-simulator', 'utils/bench-
simulator', 'bench-packets', 'utils/bench-packets', 'print-
introspected-doxygen', 'utils/print-introspected-doxygen', 'scratch-
simulator', 'scratch/scratch-simulator']
Can you please suggest what I am doing wrong or what should I do?
Thank you,
Mahmudul.

Lalith Suresh

unread,
May 6, 2011, 4:31:58 PM5/6/11
to ns-3-...@googlegroups.com
Hello,

Did you build ns-3 first? You'll need to do: ./waf configure --enable-modules=<whatever you need>; ./waf build.

Then try running the tests.
 
Mahmudul.

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Lalith Suresh
Department of Computer Science and Engineering
Instituto Superior Técnico
www.lalith.in

sanjeev prasad

unread,
May 9, 2011, 12:54:32 AM5/9/11
to ns-3-...@googlegroups.com
first you have to run the ./build.py command

--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.




--
Sanjeev K. Prasad
Assistant Professor 
MCA Dept.
AKGEC, GZB
Mob. 09711117484
Reply all
Reply to author
Forward
0 new messages