<br><br><div><span class="gmail_quote">On 5/26/06, <b class="gmail_sendername">John Landahl</b> <<a href="mailto:john@landahl.org">john@landahl.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
So I'd like to try out the new! improved! Celtk2 under Linux/SBCL, but<br>I'm having some installation problems.  First I found that I had a<br>really old version of CFFI (thanks, Ubuntu!).  After installing the<br>latest CFFI tarball, I still get the following error:
<br><br>* (require :celtk)<br><br>; loading system definition from /usr/local/lib/sbcl/site-systems/cffi.asd into<br>; #<PACKAGE "ASDF0"><br>; registering #<SYSTEM CFFI {A9D14D1}> as CFFI<br>; loading system definition from /usr/local/lib/sbcl/site-systems/cells.asd
<br>; into #<PACKAGE "ASDF0"><br>; registering #<SYSTEM :CELLS {AD05B69}> as CELLS<br><br>debugger invoked on a SIMPLE-ERROR in thread<br>#<THREAD "initial thread" {B29D0D1}>:<br>  When attempting to read the slot's value (slot-value), the slot
<br>  CFFI::TO-C-DYNAMIC-EXPANDER is missing from the object<br>  #<CFFI::FOREIGN-BUILT-IN-TYPE :UNSIGNED-LONG>.<br><br>Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.<br><br>restarts (invokable by number or by possibly-abbreviated name):
<br>  0: [RETRY ] Retry performing #<ASDF:LOAD-OP NIL {B48D421}> on<br>              #<ASDF:CL-SOURCE-FILE "tk-structs" {B46B491}>.<br>  1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {B48D421}> on
<br>              #<ASDF:CL-SOURCE-FILE "tk-structs" {B46B491}> as having been<br>              successful.<br>  2: [ABORT ] Exit debugger, returning to top level.<br><br>((SB-PCL::FAST-METHOD SLOT-MISSING (T T T T))
<br> #<unavailable argument><br> #<unavailable argument><br> #<unavailable argument><br> #<CFFI::FOREIGN-BUILT-IN-TYPE :UNSIGNED-LONG><br> CFFI::TO-C-DYNAMIC-EXPANDER<br> SLOT-VALUE<br> NIL)<br><br>
<br> Any hints on where to go next?</blockquote><div><br>Hmmm. (require :celtk)? Well, it got all the way up to tk-structs so i guess SBCL is smart enough to know what to do. To rule out an issue here, hop into celtk/load.lisp and start evaluating forms one by one. But really...
<br><br>That error has me concerned as to whether you have managed to get a clean CFFI environment. CFFI normally complains intelligently if I am off base, and that looks like an internals trip up. Might be a mismatch of old and new code.
<br><br>Meanwhile I will go stare at tk-structs and the CFFI source to see if I notice anything funny about :unsigned-longs.<br><br>kt<br><br><br> </div><br></div><br>