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
Step 1:
Download ns-allinone-2.34.tar.gz from the following link
http://sourceforge.net/project/showf...ease_id=684492
Step 2:
Execute the following commands to install ns2.34 from the terminal. You must login as root.
$cp ns-allinone-2.34.tar /opt/
$cd /opt/
$tar -xzf ns-allinone-2.34.tar.gz
$cd ns-allinone-2.34
$./install
Step 3:
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.
IMPORTANT NOTICES:
(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
http://www.isi.edu/nsnam/ns/ns-problems.html. Also search the ns mailing list archive
for related posts.
Step 4:
To change PATH environment & others execute following commands in terminal.
$cd /etc
$gedit ~/.bashrc &
Step 5:
Add following lines at the end of bashrc file.
# LD_LIBRARY_PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/ns-allinone-2.34/otcl-1.13:/opt/ns-allinone-2.34/lib
# TCL_LIBRARY
export TCL_LIBRARY=$TCL_LIBRARY:/opt/ns-allinone-2.34/tcl8.4.18/library
# PATH
export PATH=$PATH:/opt/ns-allinone-2.34/bin:/opt/ns-allinone-2.34/tcl8.4.18/unix:/opt/ns-allinone-2.34/tk8.4.18/unix
Step 6:
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
$echo $PATH
$echo $LD_LIBRARY_PATH
$echo $TCL_LIBRARY
Step 7:
Now, the installation has been completed. If you try:
$ns
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