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

Re: build two vesions of ns



On Tue, 23 Mar 1999 23:15:09 GMT, Lloyd Wood wrote: 
>On Tue, 23 Mar 1999, Sarah Liu wrote:
>
>> I just wonder if it is possible to set up two versions of ns in one machine(
>> we could connect to two servers.) such as ns-2.0 and ns-2.1. 
>
>Parallel ns directories are easily done; I've had multiple ns
>snapshots installed in renamed ns-2 trees alongside recent beta
>versions of ns-2 this way, usually running off the same versions of
>Tcl/Tk/otcl/tclcl which are built in the same directory. Eats disk
>space, though. 


The ns executable should be self-contained (including all the internal
tcl code needed to run a simulation).  You should be able to build ns,
save the executable, and throw away the rest.

If you're using shared libraries, you'll need to be careful to keep
the right versions around (ldd will tell you what you need).

Note that the ns executable doesn't include "all" of ns.  External
pieces like the scenario generator, gt-itm, the validation programs,
etc. are separate.

   -John