Tracker: Bugs

5 nam version conflict for package "Tcl" - ID: 3383459
Last Update: Comment added ( tom_henderson )

nam version conflict for package "Tcl": have 8.5.10, need exactly 8.5.9

Reported here: http://mailman.isi.edu/pipermail/ns-developers/2011-July/009150.html


Tom Henderson ( tom_henderson ) - 2011-07-31 21:48:50 PDT

5

Open

None

Nobody/Anonymous

nam-1

None

Public


Comments ( 2 )

Date: 2011-10-23 15:05:31 PDT
Sender: tom_hendersonProject Admin

I looked into this briefly. I think that the issue here is that tclcl,
when built, generates a file embedded-tcl.cc which includes some code from
init.tcl (e.g. "package require -exact Tcl 8.5.9") that is version
specific. This is enforced at runtime and prevents a user from separately
upgrading Tcl/Tk without upgrading ns-2 and nam-1. Some possible solutions
might be:
- hack the generation of embedded-tcl.cc along the lines in the post above
(not sure what side effects this has)
- investigate whether this package check is needed at all from init.tcl or
could be scrubbed altogether
- when packaging ns-2 and nam-1, do not use shared libraries from Tcl/Tk


Date: 2011-07-31 21:49:57 PDT
Sender: tom_hendersonProject Admin

Thread actually started here:
http://mailman.isi.edu/pipermail/ns-developers/2011-June/009141.html


Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.