Re: Re: cormanlisp patches for ilisp
Reini Urban <[email protected]>
| Newsgroups | gmane.lisp.ilisp.devel |
|---|---|
| Message-ID | <[email protected]> |
John,
there are two errors, from which I have only the fix for the first:
please copy ccl-1.5-patches.zip/ilisp/cormanlisp.lisp to your ilisp dir.
c:/bin/xemacs/xemacs-packages/lisp/ilisp-5.12.0/
before step 12. that means before step 10
This should fix the COMMON-LISP::SET-READTABLE-CASE problem.
There should be a comment in README.ccl to do this.
I would like to have the ilisp package and the SET-READTABLE-CASE
patch in the image.
I'm now investigating why the backslashes are not converted to slashes.
This is an ilisp problem.
John Pallister schrieb:
>
> Hello Reini & Bill,
>
> I too have been unable to get ilisp 5.12.0 working with
> Corman Common Lisp 1.5 and XEmacs (21.4.8-2, cygwin and
> win32). My steps are:
>
> 1. Install CCL 1.5 to C:\Program Files\Corman Lisp 1.5
> ('CCL').
>
> 2. Copy the patches from the corman.net site (previously
> downloaded; the site has gone away for the moment): 2 .cpp
> files and 13 .lisp files.
>
> 3. Download and unzip the latest ccl-1.5-patches.zip (dated
> 16/06/02).
>
> 4. Copy the patches directory to the CCL directory.
>
> 5. Copy the src/clconsole.cpp file to CCL/clconsole.
>
> 6. Copy the 5 sys/*.lisp files to CCL/sys.
>
> 7. Copy init.lisp, compile-ilisp.lisp and makeilisp.bat to
> the CCL directory.
>
> 8. Edit compile-ilisp.lisp to point to my XEmacs.
>
> 9. Rebuild CCL via 'makeall.bat'. This seems to work:
>
> C:\Program Files\Corman Lisp 1.5>clconsole -execute sys/compile-sys.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
> #<PACKAGE "COMMON-LISP-USER">
> NIL
> Corman Lisp 1.5 Copyright (c) 2001 Roger Corman. All rights reserved.
>
> C:\Program Files\Corman Lisp 1.5>
>
> 10. Run 'makeilisp.bat'. This produces:
>
> ...
> C:\Program Files\Corman Lisp 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:/bin/xemacs/xemacs-packages/lisp/ilisp-5.12.0/cl-ilisp.lisp"
> ;;; INSPECT
> ;;; Warning: the following function(s) are called from forms
> ;;; in file "c:/bin/xemacs/xemacs-packages/lisp/ilisp-5.12.0/cormanlisp.lisp"
> ;;; 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:\Program Files\Corman Lisp 1.5>pause
> ...
>
> 11. Unzip ILISP 5.12.0 into xemacs-packages/lisp. Configure
> the Makefile (for cygwin or win32 XEmacs; I've tried both).
>
> 12. Copy the ilisp/cormanlisp.lisp file into
> xemacs-packages/lisp/ilisp-5.12.0.
>
> 13. Make ILISP.
>
> 14. Edit my init.el to include:
>
> (autoload 'cormanlisp "ilisp"
> "Inferior Corman Common Lisp." t)
> (defvar *cormanlisp-dir*)
> (setq *cormanlisp-dir* "C:\\PROGRA~1\\CORMAN~1.5\\")
> (setq cormanlisp-program
> (concat *cormanlisp-dir* "clconsole.exe"
> " -image " *cormanlisp-dir*
> "cormanlisp-ilisp.img"))
>
> 15. Run XEmacs. Eval "M-x run-ilisp". This produces:
>
> Starting C:\PROGRA~1\CORMAN~1.5\clconsole.exe -image
> C:\PROGRA~1\CORMAN~1.5\cormanlisp-ilisp.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\XEmacs\xemacs-packages\lisp\ilisp-5.12.0\ilisp-pkg.fasl
> ;;; An error occurred
> ;;; Loading c:\bin\XEmacs\xemacs-packages\lisp\ilisp-5.12.0\cl-ilisp.fasl
> ;;; An error occurred
> ;;; Loading c:\bin\XEmacs\xemacs-packages\lisp\ilisp-5.12.0\cormanlisp.fasl
> ;;; An error occurred
>
> 16. If I try and load a file (C-c C-l), I get:
>
> ;;; An error occurred in function OPEN-FASL-FILE:
> ;;; Error: Could not open requested file:
> C:binXEmacsxemacs-packageslispilisp-5.12.0cormanlisp.fasl
> ;;; Entering Corman Lisp debug loop.
> ;;; Use :C followed by an option to exit. Type :HELP for help.
> ;;; Restart options:
> ;;; 1 Abort to top level.
>
> I hope that all this might help Reini to suggest what I'm
> doing wrong. I'm very excited that ILISP now has CCL
> support, and I appreciate Reini's efforts in producing the
> patches. I'm sure we're nearly there...
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
_______________________________________________________________
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/