[ns] problem when installing ns2
bzhang at ient.rwth-aachen.de
Thu Sep 13 02:27:26 PDT 2007
hi dear experts,
I've found the cause of my problem. It is just a stupid error. I was
using Yakuake Terminal Program, which supports only tsh. I have only
recognized it now and changed to bash to execute "source ~/.bashrc".
Besides, I have also forgotten to change the name of the path in bashrc
file, according to ns-allinone-2.32.
Now there is no problem any more.
Bin Zhang wrote:
> hi dear experts,
> I am just installing ns-allinone-2.32 package in kubuntu, following the
> installing instruction, which is decribed in
> The installing process of the package is successful. But in the next
> step, the changing of my environment variance in bashrc file cannot be
> recognized by my system.
> Following is the content of the bashrc file:
> # This line was appended by KDE
> # Make sure our customised gtkrc file is loaded.
> export GTK2_RC_FILES=$HOME/.gtkrc-2.0
> # LD_LIBRARY_PATH
> # TCL_LIBRARY
> export TCL_LIBRARY=$TCL_LIB:$USR_LIB
> # PATH
> when I tried to source this file by "$ source ~/.bashrc", I got such
> error message from the shell:
> [bzhang at im49:bzhang/work/ns-allinone-2.32] 109) source ~/.bashrc
> export: Command not found.
> OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13: Command not found.
> NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib: Command not found.
> X11_LIB=/usr/X11R6/lib: Command not found.
> USR_LOCAL_LIB=/usr/local/lib: Command not found.
> Bad : modifier in $ ($).
> can anyone help me to fix this problem.
> Thanks a lot.
> B. Zhang
More information about the Ns-users