I down this bug to important, as I make a patch to tclcl, and rebuilt
nam, now it should works,
and whether it will work if tcl/tk upgrade, it need to test.

tclcl do a "-exact" packages require in embedded-tcl.cc and embedded-tk.cc
I have no idea whether it is a bug or feature.

This is my patch, but it seems some dirty, and I has not tested
whether it will work indeed yet.

-- 
YunQiang Su
Description: remove -exact from package require for tcl and tk
 Debian is using strict libraries version policy (ie: tcl 8.5/8.6)
 so, the exact is not needed here.
Bug: http://mailman.isi.edu/pipermail/ns-users/2011-June/070597.html
Author: YunQiang Su <wzss...@gmail.com>
Last-Update: 2011-06-30
Index: tclcl/Makefile.in
===================================================================
--- tclcl.orig/Makefile.in	2011-06-30 20:02:36.405690862 +0800
+++ tclcl/Makefile.in	2011-06-30 20:03:41.870015477 +0800
@@ -169,10 +169,14 @@
 embedded-tcl.cc: $(TCL_LIBRARY_FILES) $(TCL2C)
 	$(RM) $@
 	$(TCL2C) et_tcl $(TCL_LIBRARY_FILES) > $@
+	sed -i -e "s/package require -exact Tk/package require Tk/g" $@
+	sed -i -e "s/package require -exact Tcl/package require Tcl/g" $@
 
 embedded-tk.cc: $(TK_LIBRARY_FILES) $(TCL2C)
 	$(RM) $@
 	$(TCL2C) et_tk $(TK_LIBRARY_FILES) > $@
+	sed -i -e "s/package require -exact Tk/package require Tk/g" $@
+	sed -i -e "s/package require -exact Tcl/package require Tcl/g" $@
 
 embedded-tclobj.cc: tcl-object.tcl tcl-import.tcl tcl-http.tcl $(TCL2C)
 	$(RM) $@

Reply via email to