Hi Sanaz, To use your new path settings you need to use the "source" command.
I can see that you are using the root user. Why? Create a new user account to build and run ns2, and use sudo for root privileges. P. sanaz helmi wrote: > > ------------------------------------------------------------------------ > > Hi there, > I tried to set the path as bellow, but it doesn't work.I'll > appreciate, if someone can help. > > þ# .þbashrc > > þ# þUser specific aliases and functions > > þ# þSource global definitions > if [ -f /etc/bashrc ]; then > þ. /þetc/bashrc > fi > export > PATH="$PATH:/root/ns-allinone-2.29/bin:/root/ns-allinone-ýý2.29/tcl8.4.11/unix:/root/ns-allinone-2.29/tk8.4.11/unixþ"þ > > > export > LD_LIBRARY_PATH="/root/ns-allinone-2.29/otcl-1.11,/root/ns-allinone-ýý2.29/libþ"þ > > > export TCL_ LIBRARY="/root/ns-allinone-2.29/tcl8.4.11/libraryþ"þ > > _________________________________________________________________ > Don't just search. Find. Check out the new MSN Search! > http://search.msn.com/ >