Daniel Lemire <lemire@ondelette.com> wrote:
> This is probably very naive, but how does one test a tcl file?
>
> I downloaded your TkMaxima.tcl file and made it executable, doing
> ./TkMaxima.tcl got me
>
> ./TkMaxima.tcl
> ./TkMaxima.tcl: proc: command not found
Sorry I should have been more specific on how to test this file;
to start a tcl file, you need to have Tk/Tcl installed, and under
Unix or Windows use the command wish, with the saved file as an argument
wish TkMaxima.tcl
(Your wish may be called wish83 or wish8.3 etc. depending on the OS and version).
But I realize now that this file was specific to the Maxima 5.5 binary
release, which of course did not ship Tcl with it. Also,
but the current xmaxima.tcl uses different command line arguments for
xmaxima, that will not work with the old 5.5 binary distribution.
(The current CVS xmaxima.tcl assumes the existence of autoconf
variables if the environment variable MAXIMA_DIRECTORY is not set -
will this work on a Windows binary release?)
I'll retract what I put up, and bring it up to date with
the latest approach in CVS, and try and put up a new test version
when I can test it out under the old and new approaches, wundows and linux.
I've started checking into CVS some of the more important bug fixes to
xmaxima.tcl, including fixes to the socket code, so could I ask anyone
who is well set up to test the Tcl code from CVS to update their
interfaces/xmaxima/ directory daily for the next few days to help me
identify any problems on the various platforms?
I think we need to get the Windows freewrap and Inno build steps into
CVS to make sure that the Tcl code in xmaxima.tcl works across all
platforms and OS's. Does anyone have the Inno script file that they
could send me that was used to build the 5.5 windows binary distribution?
Do we incorporate the steps needed to build and wrap into the current
Makefile.am configure results? Perhaps all we need is a Readme.txt that
outlines how to build a windows binary distribution? (I'm pretty
sure that the current CVS code will have problems with the 5.5 windows binary
wrapping approach because of autoconf-variables.tcl.)
Mike.