[developers] compiling rms in sbcl

Ben Waldron bmw20 at cl.cam.ac.uk
Wed Sep 6 18:12:28 CEST 2006


So, SBCL appears far stricter than the Lisp we generally use (there are 
many minor problems throughout the code base which need to be fixed). I 
now have the code in a state where it will compile (with many style 
warnings), although it doesn't yet run smoothly. But watch this space...

- Ben

Harold Garland wrote:
> Thanks very much Ben,
>
> Harold
>
> On Sep 6, 2006, at 2:48 AM, Ben Waldron wrote:
>
>> (In future) you can get the latest LKB source code from here (no 
>> password):
>>
>> cvs -d :pserver:public at lingo.stanford.edu:/lingo/CVS login
>>
>> - Ben
>>
>>
>> Ben Waldron wrote:
>>> I'm looking into this compliation error. I hope to get back to you 
>>> soon. Apparently, the SBCL compiler is more strict than Allegro. I 
>>> don't think I'll need to ssh into your machine.
>>>
>>> - Ben
>>>
>>> Harold Garland wrote:
>>>>
>>>> Problem #2:
>>>>
>>>> I have attempted to compile mrs per:
>>>> http://wiki.delph-in.net/moin/LkbCompilation in SBCL
>>>> on Linux, OSX and Solaris and all fail with these messages:
>>>>
>>>> ...
>>>>
>>>> ; compiling file 
>>>> "/home/harold/lkb-lisp-src/src/preprocess/x-preprocess.lsp" 
>>>> (written 28 AUG 2006 05:27:57 PM):
>>>> ; compiling (DEFPACKAGE :PREPROCESSOR ...)
>>>> ; compiling (IN-PACKAGE :PREPROCESSOR)
>>>>
>>>> ...
>>>>
>>>> ; compiling (DEFMETHOD PRINT-OBJECT ...)
>>>> ; file: /home/harold/lkb-lisp-src/src/preprocess/x-preprocess.lsp
>>>> ; in: DEFMETHOD PRINT-OBJECT
>>>> ;     ((PREPROCESSOR::OBJECT PREPROCESSOR::X-FSPP) 
>>>> PREPROCESSOR::STREAM)
>>>> ;
>>>> ; caught COMMON-LISP:ERROR:
>>>> ;   illegal function call
>>>> ; compiling (DEFSTRUCT X-FSR ...)
>>>> ; compiling (DEFMETHOD PRINT-OBJECT ...)
>>>> ; file: /home/harold/lkb-lisp-src/src/preprocess/x-preprocess.lsp
>>>> ; in: DEFMETHOD PRINT-OBJECT
>>>> ;     ((PREPROCESSOR::OBJECT PREPROCESSOR::X-FSR) 
>>>> PREPROCESSOR::STREAM)
>>>> ;
>>>> ; caught COMMON-LISP:ERROR:
>>>> ;   illegal function call
>>>>
>>>> ... about six more similar illegal function call errors, 
>>>> interspersed with
>>>> successful compiles of DEFUNs ... (complete log attached below) ...
>>>>
>>>> ; compiling (DEFUN X-TOKENS-TO-RESULT ...)
>>>> debugger invoked on a COMMON-LISP:TYPE-ERROR in thread #<THREAD 
>>>> "initial thread" {1002293A11}>:
>>>>     The value EXTRA is not of type COMMON-LISP:LIST.
>>>>
>>>> ...
>>>>
>>>> ; compilation aborted after 0:01:43
>>>> ;
>>>> ; compilation unit aborted
>>>> ;   caught 4 fatal ERROR conditions
>>>> ;   caught 8 ERROR conditions
>>>> *
>>>>
>>>> Thanks,
>>>> Harold Garland
>>>>
>>>
>>>
>>
>




More information about the developers mailing list