building under windows



Barton Willis ?????:

> I built a command line Maxima (windows XP) from the current CVS 
> sources. My Maxima runs okay in a XEmacs shell. I didn't try to 
> build xmaxima.  In addition to the installation notes, let me add
> 
> (1) I installed a gcl-2.6.1 binary  from 
> http://www.cs.utexas.edu/users/novak/gclwin.html
> 
> I didn't install the "older version" that the page also refers to.  The 
> gcl banner is
> 
> GCL (GNU Common Lisp)  2.6.1 ANSI   Feb 27 2004 12:14:42
> Source License: LGPL(gcl,gmp), GPL(unexec,bfd)
> Binary License:  GPL due to GPL'ed components: (UNEXEC)
> 
> (2) I used TortoiseCVS to download the Maxima CVS sources.  Getting
> the right information into the TortoiseCVS dialog boxes was frustrating.
> If I were to do it over, I'd use the command-line cvs from msys.
> 
> (3) I installed mingw and msys from http://www.mingw.org/download.shtml . 
> 
>   (a) installed MSYS-1.0.10-rc-4.exe and MinGW-3.1.0-1.exe 
>   (b) installed msysDTK3.0.0-1.exe 
>   (c)installed updates and extras to these components---including
> 
> gcc-core-3.3.3-20040217-1.tar.gz 
> msys-automake-1.8.2.tar
> gcc-g++-3.3.3-20040217-1.tar.gz 
> msysDTK-1.0.1.exe
>  w32api-2.5.tar.gz
> tcltk-8.4.1-1.exe
> 

My environment is almost the same with few exceptions.
I use

1. gcc-3.3.1 20030804
2. automake 1.7.1 bundled with msysDTK-1.0.1.exe

> Maybe tcltk isn't needed for command-line Maxima. I may have installed 
> other files.
> 
> (4) Changed  line # 1822 of lisp-utils/defsystem.lisp to
> 
>   #-:gcl(abs-name (ignore-errors (file-namestring abs-dir)))
>   #+:gcl(abs-name (file-namestring abs-dir))

Please, let's make it absolutely clear.
Do you mean that originally your Maxima CVS has

    (abs-name (ignore-errors (file-namestring abs-dir)))

in defsystem.lisp and you changed it to

    #-:gcl(abs-name (ignore-errors (file-namestring abs-dir)))
    #+:gcl(abs-name (file-namestring abs-dir))

manually?  If yes then your Maxima source is not the latest
Maxima CVS but at least one month old.  I'm sure.
This change in Maxima CVS was made on the February 17.
Please take a look at

http://cvs.sourceforge.net/viewcvs.py/maxima/maxima/lisp-utils/defsystem.lisp

> 
> (5) I commented out the src/csimp2.lisp function $ENTERMATRIX.
> 
> (6) I completely commented out the file src/specfun.lisp.
> 
> Barton
> 
> 

This days I successfully rebuild both GCL and Maxima on Windows XP
without any trouble several times.  Last time just 6 hours ago with 
latest GCL (2.6.1 branch) and latest Maxima CVS. No problem with (4), 
(5), (6).

I don't know what is going on. I only suspect not quite fresh
Maxima sources.


-- 
      Vadim V. Zhytnikov

       <vvzhy@mail.ru>
      <vvzhy@netorn.ru>