i have installed ns2 in fedora 9 as root user but after this there is some notices how can i rectify it??
i cant run an example script....
I got the following message after installation
Ns-allinone package has been installed successfully.
Here are the installation places:
tcl8.4.18: /root/ns-allinone-2.34/{bin,include,lib}
tk8.4.18: /root/ns-allinone-2.34/{bin,include,lib}
otcl: /root/ns-allinone-2.34/otcl-1.13
tclcl: /root/ns-allinone-2.34/tclcl-1.19
ns: /root/ns-allinone-2.34/ns-2.34/ns
nam: /root/ns-allinone-2.34/nam-1.14/nam
xgraph: /root/ns-allinone-2.34/xgraph-12.1
gt-itm: /root/ns-allinone-2.34/itm, edriver, sgb2alt, sgb2ns, sgb2comns, sgb2hierns
-----------------------------------------------------------------
Please put /root/ns-allinone-2.34/bin:/root/ns-allinone-2.34/tcl8.4.18/unix:/root/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you'll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /root/ns-allinone-2.34/otcl-1.13, /root/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 /root/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
http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive
for related posts.
[root@localhost ns-allinone-2.34]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin:/h:/root/bin:/root/bin:/home/root/ns-allinone-2.34/bin:/root/ns-allinone-2.34/tcl8.4.18/unix:/home/root/ns-allinone-2.34/tk8.4.1:/root/bin:/home/student/ns-allinone-2.34/bin:/home/student/ns-allinone-2.34/tcl8.4.18/unix:/home/student/ns-allinone-2.34/tk8.4.18/unix
[root@localhost ns-allinone-2.34]# ns
bash: ns: command not found