GCL ?Maxima Lisp bug in defpackage??



18:57:56 Jaime Villate wrote:
> On Wed, 2007-12-19 at 10:29 +0000, Jaime Villate wrote:
> > On Tue, 2007-12-18 at 12:29 -0800, Richard Fateman wrote:
> > > get to lisp via to_lisp()  in xmaxima..
> > >
> > > MAXIMA> (defpackage :r (:use "ga"))
> > >
> > > Maxima encountered a Lisp error:
> > >
> > >  Error in LISP:USE-PACKAGE [or a callee]: "ga" is not of type
> >
> > (LISP:OR
> >
> > > LISP:SYMBOL
> > >
> > > LISP:STRING
> > >
> > > LISP:PACKAGE).
> >
> > I cannot reproduce your result; with the current Xaxima I get:
>
> Oops, sorry. I thought I was using GCL but I was not. In fact, I can no
> longer build Maxima with GCL. In the current release candidate I get the
> following error:
I've get it compiled on ALD 4:
[vv at localhost ~]$ rmaxima -l gcl
Maxima 5.13.99rc2 http://maxima.sourceforge.net
Using Lisp GNU Common Lisp (GCL) GCL 2.6.8 (aka GCL)
Distributed under the GNU Public License. See the file COPYING.
Dedicated to the memory of William Schelter.
The function bug_report() provides bug reporting information.
(%i1) to_lisp();

Type (to-maxima) to restart, ($quit) to quit Maxima.

MAXIMA> (defpackage :r (:use "ga"))

Maxima encountered a Lisp error:

 Error in LISP:USE-PACKAGE [or a callee]: "ga" is not of type (LISP:OR
                                                               LISP:SYMBOL
                                                               LISP:STRING
                                                               LISP:PACKAGE).

Automatically continuing.
To reenable the Lisp debugger set *debugger-hook* to nil.
which is the same as Richard has

> Compiling /home/villate/cvs/maxima/maxima-5_14_0/src/nregex.lisp.
>> End of Pass 1.
> End of Pass 2.
> binary-gcl/nregex.c:174:18: error: math.h: No such file or directory
> binary-gcl/nregex.c:269:20: error: setjmp.h: No such file or directory
> binary-gcl/nregex.c:270:19: error: stdio.h: No such file or directory
> binary-gcl/nregex.c:857: error: expected specifier-qualifier-list before
> ?FILE?
> binary-gcl/nregex.c:1621: error: expected specifier-qualifier-list
> before ?jmp_buf?
> ....
>
> The version I'm using is:
> GCL (GNU Common Lisp)  2.6.8 ANSI    Aug  2 2007 17:12:54
>
> Regards,
> Jaime Villate
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima