Installing NS2.33 on Ubuntu 10.04
I have installed the ns2.33 package on Ubuntu 10.4 virtual box.
I have added the path as follow ( the ns2.33 is installed in /Documents) at the end of gedit ~/.bashrc
# LD_LIBRARY_PATH
OTCL_LIB=/home/ahmed/Documents/ns-allinone-2.33/otcl-1.13
NS2_LIB=/home/ahmed/Documents/ns-allinone-2.33/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB
:$X11_LIB:$USR_LOCAL_LIB
# TCL_LIBRARY
TCL_LIB=/home/ahmed/Documents/ns-allinone-2.33/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/ahmed/Documents/ns-allinone-2.33/bin:/home/ahmed/Documents/ns-allinone-2.33/tcl8.4.18/unix:/home/ahmed/Documents/ns-allinone-2.33/tk8.4.18/unix:/home/ahmed/Documents/ns-allinone-2.33/xgraph-12.1/
NS=/home/ahmed/Documents/ns-allinone-2.33/ns-2.33/
NAM=/home/ahmed/Documents/ns-allinone-2.33/nam-1.13/
export PATH=$PATH:$XGRAPH:$NS:$NAM
But it says no such..... see below
ahmed@ahmed-laptop:~$ source ~/.bashrc
bash: :/usr/X11R6/lib:/usr/local/lib: No such file or directory
ahmed@ahmed-laptop:~$
Please is there anyone to help?? I think this is the last step before validating the NS2.33
regards
Last edited by Ahmedknight; 02-20-2016 at 12:39 PM.
|