Hello,

  *
*After installing ns2.34 , I have tryed  ns command but it returns *"ns
command not found"
**
*
I have followed these steps:


1) su , password
2) yum install libX11-devel libXext-devel libXau-devel libXmu-devel
3) exit
4) tar xvf ns-allinone-2.34.tar.gz
5) cd ns-allinone-2.34
6) ./install
7) To set enviroment variables, I have done like this

cd /etc
gedit ~/.bashrc

then I have added these lines on the file .bshrc

*# LD_LIBRARY_PATH
OTCL_LIB=/home/Imene/ns-allinone-2.34/otcl-1.13
NS2_LIB=/home/Imene/ns-allinone-2.34/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB

# TCL_LIBRARY
TCL_LIB=/home/Imene/ns-allinone-2.34/tcl8.4.18/library
export TCL_LIBRARY=$TCL_LIB

# PATH
XGRAPH=/home/Imene/ns-allinone-2.34/bin:/home/Imene/ns-allinone-2.34/tcl8.4.18/unix:/home/Imene/ns-allinone-2.34/tk8.4.18/unix
NS=/home/Imene/ns-allinone-2.34/ns-2.34/
NAM=/home/Imene/ns-allinone-2.34/nam-1.14/
PATH=$PATH:$XGRAPH:$NS:$NAM*

after that I saved the .bshrc file and I closed it

*source ~/.bashrc*  (to save changes in the .bshrc file)


8) cd ns-2.34/
9) ./validate

after ./ validate this message appears:

*These messages are NOT errors and can be ignored:
warning: using backward compatibility mode
This test is not implemented in backward compatibility mode


validate overall report: some portable tests failed:
./test-all-red
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
*

Then when I have tryed

*cd Imene/ns-allinone-2.34/ns-2.34/
./ns*

' % ' is displayed

and when I tryed
*cd Imene/ns-allinone-2.34/nam-1.14/
./nam*

the "Nam Console was opened, so nam is OK.

and when I tryed the echo command it return

*[im...@localhost ~]$ echo LD_LIBRARY_PATH
LD_LIBRARY_PATH
[im...@localhost ~]$ echo TCL_LIBRARY
TCL_LIBRARY
[im...@localhost ~]$ echo PATH
PATH*

I can't understand from what the problem?


Could you please explain me what is the problem?



Thanks a lot for your help !!!

Reply via email to