From: Joseph O'Rourke
Subject: Touretzky's SDRAW in gcl?
Date: 
Message-ID: <50vlo9$1ir@sylvia.smith.edu>
Can anyone tell me how to get Touretzky's software that he distributes
with his "Common Lisp" book to work under gcl?  I ftp'ed from cmu
the sdraw.generic file, but I get this upon loading it: 
----------------------------------------------------------------
GCL (GNU Common Lisp)  Version(2.2) Wed Aug 21 16:58:21 EDT 1996
Licensed under GNU Public Library License
Contains Enhancements by W. Schelter

>(load "sdraw.generic")
Loading sdraw.generic

Error: The function DEFPACKAGE is undefined.
[etc.]
----------------------------------------------------------------
I also tried some other versions: sdraw.gc1, sdraw.gc3.  All give
various errors.  The book says the generic version should work under any
common lisp.
	The immediate source of the error in the file is this:
----------------------------------------------------------------
(defpackage "SDRAW"
  (:use "COMMON-LISP")
  (:export sdraw sdraw-loop scrawl *sdraw-print-circle* *sdraw-leading-arrow*))
----------------------------------------------------------------
Thanks for any help anyone can offer!
						:-j

From: Joseph O'Rourke
Subject: Re: Touretzky's SDRAW in gcl?
Date: 
Message-ID: <51126q$2sm@sylvia.smith.edu>
In article <··········@sylvia.smith.edu>,
Joseph O'Rourke <·······@grendel.csc.smith.edu> wrote:
>Can anyone tell me how to get Touretzky's software that he distributes
>with his "Common Lisp" book to work under gcl?  

Thanks to all who replied.  defpackage & loop need to be added
to gcl.  I have it working now.	:-j
From: Mark Pedersen
Subject: Re: Touretzky's SDRAW in gcl?
Date: 
Message-ID: <515bjq$dd2@miso.cs.uq.edu.au>
In <··········@sylvia.smith.edu> ·······@grendel.csc.smith.edu (Joseph O'Rourke) writes:

>Can anyone tell me how to get Touretzky's software that he distributes
>with his "Common Lisp" book to work under gcl?  I ftp'ed from cmu
>the sdraw.generic file, but I get this upon loading it: 
>----------------------------------------------------------------
>GCL (GNU Common Lisp)  Version(2.2) Wed Aug 21 16:58:21 EDT 1996
>Licensed under GNU Public Library License
>Contains Enhancements by W. Schelter

>>(load "sdraw.generic")
>Loading sdraw.generic

>Error: The function DEFPACKAGE is undefined.
>[etc.]

Get the DEFPACKAGE package for GCL from

http://www.webbuild.com/~rtoy/software/gcl/index.html

Cheers,

Mark
--
-----------------------------------------------------------------------------
Mark Pedersen | email : ·····@cs.uq.oz.au | http://student.uq.edu.au/~s303080 
"When freedom destroys order, the yearning for order will destroy freedom."