NS2 Installation problem

1. When install tcl get error:  /configure: 1: Syntax error: Unterminated quoted string

 

1) Unpack ns



 tar zxpfv ns-allinone-2.xx.tar.gz



 2) Apply the correct patch



 patch -p0 < "appropriate patch file"



 You should find the adequate patch in this link



 http://www.ececs.uc.edu/~cdmc/ucbt/src/<http://www.ececs.uc.edu/%7Ecdmc/ucbt/src/


>


3) Enter the ns2 directory (the directory created when you unpacked the

 allinone package)



 cd ns-allinone-2.xx (I do no remember if this is the correct directory

 name)



4) Search all the files with the problematic line.



 grep -R "system=MP-RAS" * | sort | uniq



 5) Edit each file in your prefered editor



 6) In each file, change all the occurences of these lines



 system=MP-RAS-`awk ' { print $3 } '/etc/.relid'`



 system=MP-RAS-`awk ' { print } '/etc/.relid'`



by this,



 system=MP-RAS-`awk ' { print $3 } '/etc/.relid`



 7) That's it. Now try ./install and everythins will surely work fine :-)


 

http://mailman.isi.edu/pipermail/ns-users/2006-October/057477.html

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值