RE: cormanlisp patches for ilisp

"Clementson, Bill" <[email protected]>
Newsgroups gmane.lisp.ilisp.devel
Message-ID <[email protected]>
Reini,

Still no luck. I reinstalled everything & downloaded your new patches and
copied them into the Corman install directories. I also reinstalled ilisp &
copied your modified cormanlisp.lisp into the ilisp directory. When I ran
makeilisp.bat, I got some warning errors but the batch file completed this
time. When I started ILISP in emacs, Corman starts up but ends immediately
with an error. I have listed below the makeilisp.bat messages followed by
the ILISP buffer contents in emacs. 

It would help if you could list all the steps you follow to get a working
emacs/ilisp with Corman(from installing Corman & ilisp through to a minimal
.emacs that works). Neither John Pallister nor I have been able to get
Corman working with ilisp based on the instructions in your readme.ccl file,
so a step-by-step set of instructions should help us get it set up
correctly. Once I have managed to successfully install Corman with ILISP, I
will add the instructions to the CL Cookbook page so this will help others
who want to use Corman with Emacs.

Thanks,
Bill

MAKEILISP.BAT CONSOLE MESSAGES:
===============================

C:\bin\corman-1.5>makeilisp.bat

C:\bin\corman-1.5>del cormanlisp.img.bak
Could Not Find C:\bin\corman-1.5\cormanlisp.img.bak

C:\bin\corman-1.5>ren cormanlisp.img cormanlisp.img.bak

C:\bin\corman-1.5>rem avoid loading the patches

C:\bin\corman-1.5>copy init.lisp init.lisp.new
        1 file(s) copied.

C:\bin\corman-1.5>copy init.lisp.ori init.lisp
        1 file(s) copied.

C:\bin\corman-1.5>clconsole -execute compile-ilisp.lisp
;; Error: Could not open file ~A for reading
Warning: function not defined: STREAM-INPUT-BUFFER-POS
Warning: function not defined: STREAM-INPUT-BUFFER-NUM
58
Corman Lisp 1.5  Copyright (c) 2001 Roger Corman. All rights reserved.
118
NIL
NIL
NIL
wrong sys/readtable.lispn"wrong sys/readtable.lispn"
*ILISP-PATH*
;;; Warning: the following function(s) are called from forms
;;; in file "c:/home/site/ilisp/cl-ilisp.lisp" but were not defined:
;;;     INSPECT
;;; Warning: the following function(s) are called from forms
;;; in file "c:/home/site/ilisp/cormanlisp.lisp" but were not defined:
;;;     COMMON-LISP::SET-READTABLE-CASE
NIL
NIL
#<PACKAGE "COMMON-LISP-USER">
NIL
NIL
NIL
Corman Lisp 1.5  Copyright (c) 2001 Roger Corman. All rights reserved.

C:\bin\corman-1.5>pause
Press any key to continue . . .

C:\bin\corman-1.5>copy init.lisp.new init.lisp
        1 file(s) copied.

C:\bin\corman-1.5>copy cormanlisp.img cormanlisp-ilisp.img
        1 file(s) copied.

C:\bin\corman-1.5>


EMACS ILISP BUFFER MESSAGES:
============================

Starting c:/bin/corman-1.5/clconsole.exe -image
c:/bin/corman-1.5/cormanlisp.img ...
ILISP V5.12.0  Use M-x ilisp-bug for problems and suggestions.
Type :quit to exit.
Corman Lisp 1.5  Copyright (c) 2001 Roger Corman. All rights reserved.
Type :quit to exit.
Loading 7 patches...
?
?;;; Loading c:/bin/corman-1.5/init.lisp
;;; An error occurred


-----Original Message-----
From: Reini Urban [mailto:[email protected]]
Sent: Saturday, June 15, 2002 8:38 AM
To: Clementson, Bill
Cc: '[email protected]'; '[email protected]'
Subject: Re: cormanlisp patches for ilisp


I found the error in 
  http://xarch.tu-graz.ac.at/autocad/lisp/cormanlisp/ccl-1.5-patches.zip

namely in the bootstrapping load-order. set-readtable-case is now
deferred.
you also have to use the new ilisp/cormanlisp.lisp since this defines 
now set-readtable-case.

please try it again.

"Clementson, Bill" schrieb:
> 
> Reini,
> 
> I tried installing your Corman patches again and got some errors again.
Just
> to make certain, I downloaded everything again from the internet & tried
> applying your patches according to the instructions in your README.ccl
file.
> Here are the exact steps I followed:
> 
> 1. Downloaded the Corman Lisp 1.5 installation from:
> http://corman.net/CormanLisp/CormanLisp_1_5_Setupex.exe
> 2. Ran the installation & installed it in c:\bin\corman-1.5\
> 3. Downloaded your patches from:
> http://xarch.tu-graz.ac.at/autocad/lisp/cormanlisp/ccl-1.5-patches.zip
> 4. Unzipped your patches into c:\bin\corman-1.5\ (preserving the directory
> names in the zip file)
> 5. I edited the compile-ilisp.lisp file to point to my ilisp 5.12
directory
> location (c:\home\site\ilisp\)
> 6. I noticed that the makeilisp.bat file copies init.lisp.orig and it is
> named init.lisp.ori in the zip file so I renamed it to init.lisp.orig so
> that the makeilisp.bat file would work correctly.
> 7. From a command line, I cd'ed to the c:\bin\corman-1.5\ directory & ran
> the command:
> clconsole -execute sys/compile-sys.lisp
> 8. I got the following error dialog:
> "Sorry, no global error handler was found--Corman Lisp is quitting."
> 9. The console output is as follows:
> 
> C:\bin\corman-1.5>makeilisp.bat
> 
> C:\bin\corman-1.5>del cormanlisp.img.bak
> Could Not Find C:\bin\corman-1.5\cormanlisp.img.bak
> 
> C:\bin\corman-1.5>ren cormanlisp.img cormanlisp.img.bak
> 
> C:\bin\corman-1.5>rem avoid loading the patches
> 
> C:\bin\corman-1.5>copy init.lisp init.lisp.bak
>         1 file(s) copied.
> 
> C:\bin\corman-1.5>copy init.lisp.orig init.lisp
>         1 file(s) copied.
> 
> C:\bin\corman-1.5>clconsole -execute compile-ilisp.lisp
> ;; Error: Could not open file ~A for reading
> Warning: function not defined: CHECK-TYPE
> ;;; An error occurred in function READTABLE-CASE:
> ;;; Unbound variable: READTABLE
> 
> Could you please let me know the specific steps you follow in order to
> rebuild Corman
> from your patches? I'm obviously doing something different from you.
> 
> Sorry to be a bother but I would love to get your ilisp support working
> with Corman Lisp & appreciate the work you've done on this.
> 
> Thanks,
> --
> Bill Clementson
> 
> > -----Original Message-----
> > From: Reini Urban [mailto:[email protected]]
> > Sent: Saturday, June 08, 2002 10:52 AM
> > To: Clementson, Bill
> > Cc: '[email protected]'; '[email protected]'
> > Subject: Re: [Ilisp-devel] cormanlisp patches for 5.11
> >
> >
> > hmm, I tried my instructions with a fresh corman lisp
> > installations and
> > it worked for me.
> >
> > But I improved the compile-ilisp.lisp a bit to find some errors and to
> > avoid this
> > infinite loop in the bootstrapping stage you have in your backtrace.
> > I deferred loading the load-time patches.
> >
> > http://xarch.tu-graz.ac.at/autocad/lisp/cormanlisp/ccl-1.5-patches.zip
> >
> > "Clementson, Bill" schrieb:
> > > Reini, I want to test ILISP with your Corman patches but
> > have encountered
> > > some problems. I followed these steps:
> > >
> > > 1. Downloaded Corman Lisp 1.5 & installed it
> > > 2. Downloaded your patches for Corman from:
> > >
> > http://xarch.tu-graz.ac.at/autocad/lisp/cormanlisp/ccl-1.5-patches.zip
> > > 3. Unzipped the patches in the Corman directory (preserving
> > directory names)
> > > 4. From a command line, I cd'ed to the Corman directory & Ran the
> > >    command: clconsole -execute sys/compile-sys.lisp
> > >    I got the following errors:
> > > C:\bin\corman>clconsole -execute sys/compile-sys.lisp
> > > Corman Lisp 1.5  Copyright (c) 2001 Roger Corman. All
> > rights reserved.
> > > Type :quit to exit.
> > > Loading 8 patches...
> > > ?;;; An error occurred in function #< COMPILED-FUNCTION: #x9306A0 >:
> > > ;;; Error: The function SET-SYMBOL-MACRO is undefined
> > > ;;; Entering Corman Lisp debug loop.
> > > ;;; Use :C followed by an option to exit. Type :HELP for help.
> > > ;;; Restart options:
> > > ;;; 1   Abort to top level.
> > >
> > > Any idea what I am doing wrong? Or am I even going about
> > this in the right
> > > way?
> > >
> > > Thanks for any help or suggestions.
> > >
> > > --
> > > Bill Clementson
-- 
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.