hello , this venkatadri, Research Scholar, dept.Computer Science, Vikrama Simhapuri University.
i installed ns-allinone-2.34 in fedora 5 using the procedure:
Steps to Install ns2.34 in Fedora 8
Download ns-allinone-2.34.tar.gz from the following link
Execute the following commands to install ns2.34 from the terminal. You must login as root.
$cp ns-allinone-2.34.tar /opt/
$tar -xzf ns-allinone-2.34.tar.gz
After a long wait and a whole lot of text, you should see the installation finish up with text like the following:
Please put /opt/ns-allinone-2.34/bin:/opt/ns-allinone-2.34/tcl8.4.18/unix:/opt/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
(1) You MUST put /opt/ns-allinone-2.34/otcl-1.13, /opt/ns-allinone-2.34/lib,
Â Â Â into your LD_LIBRARY_PATH environment variable.
Â Â Â If it complains about X libraries, add path to your X libraries
Â Â Â into LD_LIBRARY_PATH.
Â Â Â If you are using csh, you can set it like:
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â setenv LD_LIBRARY_PATH <paths>
Â Â Â If you are using sh, you can set it like:
Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â export LD_LIBRARY_PATH=<paths>
(2) You MUST put /opt/ns-allinone-2.34/tcl8.4.18/library into your TCL_LIBRARY environmental
Â Â Â variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.34; ./validate
For trouble shooting, please first read ns problems page
. Also search the ns mailing list archive
for related posts.
To change PATH environment & others execute following commands in terminal.
$gedit ~/.bashrc &
Add following lines at the end of bashrc file.
To make the change in the path & others permanent, type the following command in terminal.
$ source ~/.bashrc
You can check what is written in your path by writing
Now, the installation has been completed. If you try:
Then a "%" will appear on the screen. Type "exit" to quit the mode
after this it will display % when write % set ns[new Simulator] it is displayed cann't read ns_o4" what is the error please telle me answer