-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.env
More file actions
25 lines (18 loc) · 709 Bytes
/
setup.env
File metadata and controls
25 lines (18 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# source this to set up the environment
PHR=$HOME/phr
#LD_LIBRARY_PATH
OTCL_LIB=$PHR/ns-allinone-2.35/otcl-1.14
NS2_LIB=$PHR/ns-allinone-2.35/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/ns-allinone-2.35/tcl8.5.10/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
#PATH
XGRAPH=$PHR/ns-allinone-2.35/bin:$PHR/ns-allinone-2.35/tcl8.5.10/unix:$PHR/ns-allinone-2.35/tk8.5.10/unix
#the above two lines beginning from xgraph and ending with unix should come on the same line
NS=$PHR/ns-allinone-2.35/ns-2.35/
NAM=$PHR/ns-allinone-2.35/nam-1.15/
PATH=$PATH:$XGRAPH:$NS:$NAM