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).
Hi Vadim,
I had three versions of tcl on my system: 8.3 and 8.4 in
/usr/local/lib, /usr/local/share/tcl8.[03], and in 8.4 in /usr/lib.
Interestingly there is no /usr/share/tcl8.4. I'd built the ones in
the local tree over the years and the one in /usr/lib came with
slackware-10.0.
I've removed all but the one in /usr/lib and rebuilt maxima from scratch;
I get the same error. I looked for msgcat and found it in
/usr/lib/tcl8.4/msgcat1.3, specifically:
ls -l /usr/lib/tcl8.4/msgcat1.3
total 20
-rw-r--r-- 1 root root 12816 May 11 02:37 msgcat.tcl
-rw-r--r-- 1 root root 134 May 11 02:37 pkgIndex.tcl
Perhaps xmaxima is looking for msgcat in the wrong place?
This worked last week.
David