ubuntu14.04でns2シミュレータ-2.35を使用したいのですが、ns2シミュレータが起動せず困っています。
具体的には、インストールは終了し、パスの設定まで行いました。
しかし、端末で"ns"と入力し"%nam"と入力すると、
"Can't find a usable init.tcl in the following directories"
と表示されます。このような場合どうしたら良いのですか?教えて下さい。
ちなみにパスの設定は.bashrcファイルの最後の行に下に示すコードを付け足しました。
.bashrc
Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
User specific aliases and functions
OTCL_LIB=/home/hoge/ns-allinone-2.35/otcl-1.14
NS2_LIB=/home/hoge/ns-allinone-2.35/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/libexport
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB
TCL_LIBRARY
TCL_LIB=/home/hoge/ns-allinone-2.35/tcl8.5.10/library
USR_LIB=/usr/libexport
TCL_LIBRARY=$TCL_LIB:$USR_LIB
PATH
XGRAPH=/home/hoge/ns-allinone-2.35/bin:/home/hoge/ns-allinone-2.35/tcl8.5.10/unix:/home/hoge/ns-allinone-2.35/tk8.5.10/unix:/home/hoge/ns-allinone-2.35/xgraph-12.2/
NS=/home/hoge/ns-allinone-2.35/ns-2.35/
NAM=/home/hoge/ns-allinone-2.35/nam-1.15/
export PATH=$PATH:$XGRAPH:$NS:$NAM
あなたの回答
tips
プレビュー