Updated PC port



"Billinghurst, David (CRTS)" <David.Billinghurst@riotinto.com> writes:

> I have updated the PC port at 
> http://www.geocities.com/billingd2002/maxima/index.html
> It includes Mike Clarkson's recent changes.

Thanks for this work. Having a Windows binary distribution will be
very helpful.

I'm running Windows NT SP6. I unzipped all three zip files, to
C:/Program.

Here's what happens when I run maxima from Cygwin bash:

bash-2.05b$ echo $PATH
/cygdrive/c/Program/maxima-5.9/bin:/cygdrive/e/Gnu/Emacs/emacs-21.2/bin/:/usr/bin:/cygdrive/c/winnt/system32
bash-2.05b$ maxima
getopts: not found
GCL (GNU Common Lisp)  Version(2.5.0) Tue Sep  3 21:55:04 AUSEST 2002
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter

Error: Cannot open the file .
Fast links are on: do (si::use-fast-links nil) for debugging
Error signalled by LISP:IF.
Broken at LOAD.  Type :H for Help.
MAXIMA>>(quit);
bash-2.05b$


Trying to run from a DOS shell is even worse:

E:\Stephe>PATH
PATH=c:/Program/maxima-5.9/bin;e:/Gnu/Emacs/emacs-21.2/bin/;e:/Gnu/cygwin/bin;c:/winnt/system32

E:\Stephe>maxima
The name specified is not recognized as an
internal or external command, operable program or batch file.



Hmm, I guess I should run from an MSYS shell:

sh-2.04$ echo $PATH
/c/Program/maxima-5.9/bin:/e/Gnu/Emacs/emacs-21.2/bin/:/bin:/mingw/bin:/c/winnt/system32
sh-2.04$ maxima
GCL (GNU Common Lisp)  Version(2.5.0) Tue Sep  3 21:55:04 AUSEST 2002
Licensed under GNU Library General Public License
Contains Enhancements by W. Schelter
Maxima 5.9.0rc1 http://maxima.sourceforge.net
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
This is a development version of Maxima. The function bug_report()
provides bug reporting information.
(C1) 

So that works. I suggest you include the fact that you need MSYS
installed to run maxima, at least for now. 

But I thought we were shooting for a stand-alone installation? I
interpret that to mean just Windows, nothing else needed besides the
Maxima binary distribution (and possibly a C compiler).

I tried reading the maxima shell script, and setting up environment
variables as it does, then running from a BASH shell. That works. 

But running from a DOS shell does not. Aha! maxima-run-lisp is _also_
a shell script. And more complex than I want to figure out just now.

Note that I want the command line interface, not the Tcl/Tk interface,
since I use Emacs. But I have no problem with needing Cygwin to run
it, since I use Cygwin all the time. I'd prefer not to need MSYS, but
I can cope with that.

-- 
-- Stephe