First attempts at building under windows



Hi James.

Thanks for taking the trouble to work on the Windows port of Maxima.

In the notes below I am using CVS GCL and Maxima, but the description I give
below has been static for a considerable time so I believe that it is valid
relative to using the pre-built binary and RC3 Maxima tar ball.

> b) From the same page, get msys Snapshot 1.0.8. I installed it in
> c:\msys\1.0. The installer should magically find your mingw installation
> and add it to your path.

Not relevant to your problem below but - a little further down the Mingw32
sourceforge downloads page is a subsection entitled "release candidates".  I
suggest that people try rc3 of MSYS there (MSYS-1.0.8-rc-2.exe) as it
contains some partial fixes by Earnie Boyd in response to path conversion
problems encountered building GCL and Maxima.

> 2) Get Tcl/Tk 8.3 from
> <http://members1.chello.nl/~j.nijtmans/mingw.html>;. I installed it in
> c:\tcltk.

I installed it directly into my Mingw hierarchy, but this probably doesn't
matter.  This means that you don't have to add the TCL bin directory to the
path.

I then copied the exe to "wish.exe" to avoid the need for the configure wish
option and the hacks below.

> 7) In the maxima-5.9.0rc3 directory, type
> ./configure --with-wish=wish83 --prefix=/c/msys/1.0/local
> make

I used a prefix in this format - "g:/maxm", which seems to work for me at
the moment, but again is irrelevant to the problem below.

> "./xmaxima-local" will not work.
.......
> It will complain about not being able to able to find its data
> directory. I have tried all the permutations of pathnames I can think
> of, i.e., c:\msys\1.0\local vs. /c/msys/1.0/local vs. /usr/local, etc.
>
> I am stuck at this point. Please, someone help.

Here we are both stuck, but differently.

I get the XMaxima Wish interface (displaying the Maxima Primer), but a TCL
requestor complains that it can't start Maxima because it can't execute
"c:\cvs\maxima\maxima-local -p c:/cvs/maxima/interfaces/xmaxima/server.lisp
blah blah blah..."

This is because TCL/Wish is a Windows application knowing nothing about
running Unix shell scripts (namely "xmaxima-local").

In other words, "xmaxima-local" needs to be an executable to work under a
native Windows Wish.

For this reason I usually just do a "make install" and use the installed
XMaxima.

Cheers

Mike Thomas.




>
> --Jim
>
> --
> James Amundson <amundson@fnal.gov>
> _______________________________________________
> Maxima mailing list
> Maxima@www.math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>