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