[Magic-dev] magic init problem

R. Timothy Edwards tim.edwards at multigig.com
Tue Oct 11 20:12:23 EDT 2005


Dear Minchen,

> error in slave eval:
> syntax error in expression "$do_wrapper == true"
> Main console display active (Tcl8.3.3 / Tk8.3.3)

Apparently Tcl 8.3 allows one to use "true" and "false" unquoted
if setting a variable but not if testing it, which I assume was a
bug, not a feature, and was clearly corrected in version 8.4.

There is only one occurrence of the error, and the correction is
to change line 179 of tcltk/magic.tcl.in from

    if {$do_wrapper == true} {

to just

    if {$do_wrapper} {

and do "make install" again.

I will correct this in the distribution and repost it.  Thanks for
reporting the problem.

					---Tim

+--------------------------------+-------------------------------------+
| Dr. R. Timothy Edwards (Tim)   | email: tim.edwards at multigig.com     |
| MultiGiG, Inc.                 | web:   http://www.multigig.com      |
| 100 Enterprise Way, Suite A-3  | phone: (831) 621-3283               |
| Scotts Valley, CA 95066        | cell:  (240) 401-0616               |
+--------------------------------+-------------------------------------+



More information about the magic-dev mailing list