[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] MNS2.0 installation - regarding



Mani,


> Hi all
> i tried installing MNS2.0 available at http://www.raonet.com/index_e.php
> in ns-2 version ns-2.1b7a. I get the following error message while running
> ANY  tcl script after compilation of ns with MNS2.0 added to it.
> (MNS2.0 was written for ns-2.1b6)

> --------------------------------
> : couldn't read file "ns-mpls-node.tcl": no such file or directory
>     while executing "source.orig ns-mpls-node.tcl"
>     ("uplevel" body line 1)
>     invoked from within "uplevel source.orig $fileName"
>     (procedure "source" line 12)
>     invoked from within
> "source ns-mpls-node.tcl     "

> --------------------------


I've ran into a similar problem today when I tried to install MNS-v2.0
(by the book, on top of 2.1b6). All in all is still an open question
why ns refuses to load the files included in "~ns2/tcl/lib/ns-lib.tcl"
if simply running make after the appropriate modification of "ns-lib.tcl"


The way I've solved this one is worth the nobel price in brain damage:
I've replaced the content of the offending file w/ some garbage
(e.g. "fubar"), "make", run ns and seen it happily turn belly up due
to "unknown command" and then replaced the content of the included tcl
file w/ what it should contain and repeated the make/run process. Don't even
ask why this works but it did.

I guess that a sane approach would be to modify Makefile.in and run
configure ;)

> ns-mpls-node.tcl is one of the files in ns/tcl/lib directory that came
> along with MNS2.0. Could some one tell as to where the problem is?

I'm  a bit on thin ice here but until somebody finds the exact reason why
this bummers that incredible way I'm blaiming the horrible bloat that
"~ns-2/gen/*" stands for. 

> Or has anyone used MNS2.0 in ns-2.1b7a ?
> Thank you for your time

> -mani

_Quite_  annoyed,

Florian