clisp Maxima patches



C Y wrote:

> --- "Vadim V. Zhytnikov" <vvzhy@mail.ru> wrote:
> > I'm going to upload to Maxima CVS at SourceFourge
> > a little patch which is aimed to resolve Maxima problems
> > with different clisp version.
> >
> > It seems that now at least two clisp versions are
> > commonly used. Old one dated 06.03.2000 and
> > new clisp 2.27 (July 2001). Presently Maxima
> > works fine with old clisp but fails in several
> > places with new clisp 2.27. The point is that
> > in clisp 2.27 several functions utilized by Maxima
> > are moved into the new package EXT.
> > Now Maxima should work fine on both
> > versions of clisp.
> >
> > Second patch is the courtesy of Raymond Toy and
> > it enables online info documentation browsing
> > under clisp. To enable this feature you have
> > to rebuild clisp with the REGEXP module.
> > Notice that even after this the REGEXP package
> > will be available if and only if you invoke
> > clisp with the option -K full
> >    clisp -K full
> > If yoy have it then rebuild Maxima with the option
> >   CLISP="clisp -K full"
> > and describe will work for you.
> >
> > Best wishes,
> >
> > Vadim
>
> I've tried to compile with Clisp, but here's what I get:
>
> [cliff@shemp src]$ make clisp-compile CLISP="clisp -K full"
> echo '(progn (load "compile-clisp.lisp")(compile-maxima))' | clisp -K
> full
>   i i i i i i i       ooooo    o        ooooooo   ooooo   ooooo
>   I I I I I I I      8     8   8           8     8     o  8    8
>   I  \ `+' /  I      8         8           8     8        8    8
>    \  `-+-'  /       8         8           8      ooooo   8oooo
>     `-__|__-'        8         8           8           8  8
>         |            8     o   8           8     o     8  8
>   ------+------       ooooo    8oooooo  ooo8ooo   ooooo   8
>
> Copyright (c) Bruno Haible, Michael Stoll 1992, 1993
> Copyright (c) Bruno Haible, Marcus Daniels 1994-1997
> Copyright (c) Bruno Haible, Pierpaolo Bernardi, Sam Steingold 1998
> Copyright (c) Bruno Haible, Sam Steingold 1999-2001
>
> [1]>
> ;; Loading file compile-clisp.lisp ...
> ;;  Loading file sysdef.lisp ...
> ;;   Loading file make.lisp ...
> ;;   Loading of file make.lisp is finished.
> ;;   Loading file maxima-package.lisp ...
> ;;   Loading of file maxima-package.lisp is finished.
> ;;  Loading of file sysdef.lisp is finished.
> ;;  Loading file make.lisp ...
> ;;  Loading of file make.lisp is finished.
> *** - READ from #<INPUT BUFFERED FILE-STREAM CHARACTER
> #P"compile-clisp.lisp" @11>: #<PACKAGE COMMON-LISP> has no external
> symbol with name "GC"
> Bye.
>
> I compiled CLISP locally - what could be causing this?
>

This is exactly one of the problems I intend to fix. In several
places function calls (gc) must be replaced by (ext:gc).
Or the better way - make (use-package "EXT") during Maxima
build process. Unfortunately I have some troubles with
SourceForge so the patches are not there yet.

--

[ Vadim V. Zhytnikov  <vvzhy@mail.ru>  <vvzhy@td.lpi.ac.ru> ]