[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcl-devel] Beginner: Trouble with CLOS

From: Camm Maguire
Subject: Re: [Gcl-devel] Beginner: Trouble with CLOS
Date: 16 Oct 2003 22:09:56 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greetings, and welcome to GCL.  Please don't worry about questions you
consider basic -- we are all in the learning mode here.

The Debian GCL package ships two lisp 'images', one mostly complying
with an earlier Lisp language specification known as CLtL1, and a
'work in progress' ansi build aiming to comply with the later ANSI
Lisp language standard.  The former image is run by default.  The
latter can be selected by setting the environment variable GCL_ANSI to
any non-empty string before invoking GCL, e.g.

GCL_ANSI=t gcl

If you plan on making heavy use of CLOS, I would advise trying out the
gclcvs (2.7.0) package from Debian unstable.  Significant work has
been put in in this regard, and it is hoped that when the 2.7.x series
is stabilized, gcl will be largely ansi compliant.  The gclcvs and gcl
packages can be installed simultaneously without conflict.  So for
example you might want

GCL_ANSI=t gclcvs

Take care,

William Young <address@hidden> writes:

> Hi all,
> First of all thanks for maintaining GCL.  I'm new to Lisp, and I'm eager
> to learn it.  To that end, I have a few good CL books, and I'm trying
> the exercises.
> I'm using GCL 2.5.2 on an x86 Debian GNU/Linux (woody) system.
> My current problem is GCL doesn't seem to know what DEFCLASS is.
> When I try:
> (defclass my-class ()
>       ()
>       (:documentation "My Test Class"))
> I get the following message:
> Error: The function DEFCLASS is undefined.
> Why is this happening?  Do I need a newer version of GCL?  Do I need to
> change to a particular package?
> I've looked in the list archives, but haven't found anything that
> appeared to answer my question.
> My apologies for the extremely basic level of my question on this list,
> but I'm not sure where else to ask.
> Thanks 
> Bill Young
> _______________________________________________
> Gcl-devel mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/gcl-devel

Camm Maguire                                            address@hidden
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]