xmaxima in the lastest CVS is broken



David Ronis writes:

> Something broke xmaxima in the last few CVS's.  When I run, it now says:
>
> xmaxima
> Error in startup script: invalid command name "mcload"
>    while executing
> "mcload [file join $maxima_priv(maxima_verpkgdatadir) msgs]"
>    (procedure "setMaxDir" line 112)
>    invoked from within
> "setMaxDir"
>    (procedure "MAXTkmaxima:install" line 9)
>    invoked from within
> "MAXTkmaxima:install tkmaxima"
>    ("uplevel" body line 1)
>    invoked from within
> "uplevel [concat $object(__class__):$method tkmaxima $args]"
>    (procedure "tkmaxima" line 3)
>    invoked from within
> "tkmaxima install"
>    (file "/usr/local/bin/xmaxima" line 15080)
>
> David
>
	Vadim> What version on tcl is installed on your system?
	Vadim> Does it have msgcat module (msgcat.tcl somewhere in
	Vadim> /usr/share/tcl...)?  
	Vadim> It seems that you have ether too old tcl (at least 8.2 is required)
	Vadim> or tcl without msgcat (strange, since this is standard module).

Ronis>   I had three versions of tcl on my system: 8.3 and 8.4 in
Ronis>  /usr/local/lib, /usr/local/share/tcl8.[03], and in 8.4 in /usr/lib.
Ronis>  Interestingly there is no /usr/share/tcl8.4.  I'd built the ones in
Ronis>  the local tree over the years and the one in /usr/lib came with
Ronis>  slackware-10.0.
Ronis>
Ronis>  I've removed all but the one in /usr/lib and rebuilt maxima from scratch;
Ronis>  I get the same error.  I looked for msgcat and found it in 
Ronis>  /usr/lib/tcl8.4/msgcat1.3, specifically:


Ronis>ls -l /usr/lib/tcl8.4/msgcat1.3
Ronis>
Ronis>total 20
Ronis>-rw-r--r--  1 root root 12816 May 11 02:37 msgcat.tcl
Ronis>-rw-r--r--  1 root root   134 May 11 02:37 pkgIndex.tcl
Ronis>
Ronis>Perhaps xmaxima is looking for msgcat in the wrong place?
Ronis>This worked last week.


Ok it turns out it was my fault--simply conflicts between the new and
legacy versions of my tcl/tk installation--once I got rid of all the
old versions (including wish), it works.

Thanks for the help.

David