Windows7+VMWare7.0+Ubuntu10.0+NS-2.33 Installation Log
来源:互联网 发布:nginx是什么 编辑:程序博客网 时间:2024/05/17 02:39
- Download and Install VMWare, Ubuntu.iso
- Do the following:
sudo apt-get install build-essential
sudo apt-get install tcl8.4
sudo apt-get install tcl8.4-dev
sudo apt-get install tk8.4
sudo apt-get install tk8.4-dev
sudo apt-get install libxmu-dev
using "gcc -v" to check gcc version (e.g. 4.4.5),then install g++ with the same version
sudo apt-get install g++ 4.4.5. if not available, direclty type "g++", without version - tar -vxzf ns-allinone-2.33.tar.gz
- install the pacth, in case the error (when using nam) like the following:
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[string equal [tk windowingsystem] "classic"]
|| [string equal [tk windowingsystem] "aqua"]} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {..."
solution:
1).http://bugs.gentoo.org/show_bug.cgi?id=225999, download patch
2). under "ns-allinone-2.33", patch -p0 < tk-8.4.18-tkBind.patch
3). under "ns-allinone-2.33>tk8.4.18", patch -p0 < tk-8.4.lastevent.patch 1).$ cd /home/ns-allinone-2.33/otcl-1.13
$ sudo gedit configure.in
modify at " Linux *)":
SHLIB_LD="ld -shared",
as
SHLIB_LD="gcc -shared"
2).$ sudo gedit configure
modify at "Linux *)"
SHLIB_LD="ld -shared",
as
SHLIB_LD="gcc -shared"
3).change ns-allinone-2.34/otcl-1.13/Makefile.in
CC =@CC@
CC =gcc-4.4 (ur current version)
4). enter ns-allinone-2.33
./install- setup path environment
gedit ~/.bashrc
at the end of the file, type the following
(note:/home/NS is ur own path for ns-allinone-2.33)
# LD_LIBRARY_PATH
OTCL_LIB=/home/NS/ns-allinone-2.33/otcl-1.13
NS2_LIB=/home/NS/ns-allinone-2.33/lib
X11_LIB=/usr/X11R6/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB
# TCL_LIBRARY
TCL_LIB=/home/NS/ns-allinone-2.33/tcl8.4.18/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB
# PATH
XGRAPH=/home/NS/ns-allinone-2.33/bin:/home/NS/ns-allinone-2.33/tcl8.4.18/unix:/home/NS/ns-allinone-2.33/tk8.4.18/unix
NS=/home/NS/ns-allinone-2.33/ns-2.33/
NAM=/home/NS/ns-allinone-2.33/nam-1.13/
PATH=$PATH:$XGRAPH:$NS:$NAM
save
active path setting
type: source ~/.bashrctest (download from Ns by Example).
- Windows7+VMWare7.0+Ubuntu10.0+NS-2.33 Installation Log
- vmware7.0中使用NAT让ubuntu10.04上网
- 关于在vmware7.0 安装ubuntu10.04 遇到的问题
- vmware7.0
- vmware7.0 安装leopard 10.6
- Ubuntu10.10中安装VMware7.1.3虚拟机
- Vmware7.1下安装ubuntu10.4教程
- vmware7.0 下REDHAT9的HOSTONLY配置
- CentOS4.7+VMware7.0安装oracle10gR2
- ubuntu + vmware7.0 gmake not found
- 在windows7中重复安装VMware7
- Ubuntu10.04下装NS-allinone-2.35
- Ubuntu10.04下安装ns-allinone-2.35
- ns-allinone-2.34 installation on Ubuntu 12.10
- [seetaface] installation log
- VMware7.0下centOS5.4分辨率的设置
- Vmware7.0+ubuntu9.1安装,解决vmtools问题
- WinCE6.0 for VMWare7.x 虚拟机的网卡问题
- 多重继承与虚基类
- C#实现二叉树,外带中序遍历
- 常见围棋术语英译
- 关于.net中使用axmschart控件editcopy方法的问题!
- 在这个大环境下失业了!
- Windows7+VMWare7.0+Ubuntu10.0+NS-2.33 Installation Log
- jQuery双色表格的实现
- 利用JS实现JSF页面h:selectOneMenu的联动
- ZFS root mirror
- Mac OS X Java 开发指南
- 托拽购物车
- Windows自动安装工具包
- asp.net中image控件的使用
- jQuery---inteface效果集合