问题描述
大家好,在Ubuntu 11.10中安装Ns2.34之后,我发现遵循以下步骤,我不知道如何以及在哪里设置路径,以及如何执行以下步骤,请为我提供解决方案,
< i>请把/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/bin:/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/tcl8.4.18/unix:/home/tassi/Desktop /NS-Installation/ns-allinone-2.34/tk8.4.18/unix
进入您的PATH环境;这样您就可以运行itm/tclsh/wish/xgraph.
重要通知:
(1)您必须将/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/otcl-1.13,/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/lib,
进入您的LD_LIBRARY_PATH环境变量.
如果它抱怨X库,请向您的X库添加路径
进入LD_LIBRARY_PATH.
如果使用的是csh,则可以将其设置为:
setenv LD_LIBRARY_PATH<路径>
如果使用sh,则可以将其设置为:
导出LD_LIBRARY_PATH =<路径>
(2)您必须将/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/tcl8.4.18/library放入您的TCL_LIBRARY环境中
多变的.否则,ns/nam会在启动过程中发牢骚.
完成这些步骤之后,您现在可以使用
运行ns验证套件 cd ns-2.34; ./validate</i>
预先感谢,:):
hi everyone after installing Ns2.34 in Ubuntu 11.10, i have found follow steps, i dont know how and where to set path, and how to perform following steps, please suggest me a solution,,
<i> Please put /home/tassi/Desktop/NS-Installation/ns-allinone-2.34/bin:/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/tcl8.4.18/unix:/home/tassi/Desktop/NS-Installation/ns-allinone-2.34/tk8.4.18/unix
into your PATH environment; so that you''ll be able to run itm/tclsh/wish/xgraph.
IMPORTANT NOTICES:
(1) You MUST put /home/tassi/Desktop/NS-Installation/ns-allinone-2.34/otcl-1.13, /home/tassi/Desktop/NS-Installation/ns-allinone-2.34/lib,
into your LD_LIBRARY_PATH environment variable.
If it complains about X libraries, add path to your X libraries
into LD_LIBRARY_PATH.
If you are using csh, you can set it like:
setenv LD_LIBRARY_PATH <paths>
If you are using sh, you can set it like:
export LD_LIBRARY_PATH=<paths>
(2) You MUST put /home/tassi/Desktop/NS-Installation/ns-allinone-2.34/tcl8.4.18/library into your TCL_LIBRARY environmental
variable. Otherwise ns/nam will complain during startup.
After these steps, you can now run the ns validation suite with
cd ns-2.34; ./validate</i>
Thanx in advance,,, :)
推荐答案
这篇关于在Ubuntu 11.10中安装NS2.34之后如何设置路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!