If you encounter the following error, checking system version (for dynamic loading)... ./configure: 1: Syntax error: Unterminated quoted string
then do the following,
Open the following files under ns-allinone-2.xx/
tcl: file tcl8.x.x/unix/tcl.m4
tk: file tk8.x.x/unix/tcl.m4
otcl: file otcl-1.x/configure.in
In all the above files, you can find the following line
system=MP-RAS-`awk ' { print $3 } '/etc/.relid'`
and change the above line to (just remove the last but one single quote, remember that ‘ is different from ` you need to remove only ‘ and not `)
system=MP-RAS-`awk ' { print $3 } '/etc/.relid`
hi
ReplyDeletei installed ns2.31
ns2 succesfully installed it gives but
gives errors for nam like
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
child process exited abnormally
plz tell me the solution for this
hi
ReplyDeletei installed ns2.31 in ubuntu 10.04lts
ns2 succesfully installed it gives but
gives errors for nam like
nam:
[code omitted because of length]
: no event type or button # or keysym
while executing
"bind Listbox {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."
child process exited abnormally
plz tell me the solution for this
i copied 802.16 protocols into the common folder and mac folder and modified the makefile
ReplyDeletethen after that i tried to reconfigure using the make clean make install but it gives the following errors can u help me plz
sabareesh@sabareesh-laptop:~/ns-allinone-2.35-RC3/ns-2.35$ make clean
Makefile:251: *** commands commence before first target. Stop.
when i ./configure it gives followng error
ReplyDeleteconfigure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.