Do you get this error from running asdf-install, or from running asdf after installing? Do you know what .asd file is being loaded first?

ele-acache.asd should never be called and thus db-acache/package.lisp should never be compiled.

Ian

On Mar 29, 2007, at 10:07 PM, Erik Garrison wrote:

On Thu, Mar 29, 2007 at 08:43:16PM -0500, Robert L. Read wrote:
I'm green on SBCL on the tip of the CVS branch. I don't remember anyone
having this problem
on the 0.6.0 release---so I am (not uncommonly) confused.

Is it looking for acache within the elepahnt code, or perhaps somewhere
else as it is rebuilding
fasls?



I'm doing the install via:

(asdf-install:install
"http://common-lisp.net/project/elephant/dist/elephant-0.6.0.tgz";)

Apparently it expects acache to be installed when (require 'acache) is
called.  Is acache necessary to use elephant?

;; in src/contrib/eslick/db-acache/package.lisp
(eval-when (:load-toplevel :compile-toplevel)
  (require :acache))

-Erik





On Fri, 2007-03-30 at 12:49 +1200, Erik Garrison wrote:

On Fri, Mar 30, 2007 at 02:34:54AM +0200, Edi Weitz wrote:
On Fri, 30 Mar 2007 12:23:05 +1200, Erik Garrison <[EMAIL PROTECTED]> wrote:

debugger invoked on a SB-FASL::INVALID-FASL-VERSION:
  #<SB-SYS:FD-STREAM for "file
/usr/local/lib/sbcl/site/elephant/src/memutil/ memutil.fasl" {B07E029}> is in native code fasl file format version 63, but this version of SBCL
uses format version 72.

Add this code to your ~/.sbclrc file:

(defmethod asdf:perform :around ((o asdf:load-op) (c asdf:cl- source-file))
    (handler-case
      (call-next-method o c)
      (sb-ext:invalid-fasl ()
        (asdf:perform (make-instance 'asdf:compile-op) c)
        (call-next-method))))

Sweet!  This does the trick.

Now I get:

; compiling (REQUIRE :ACACHE)
debugger invoked on a SB-INT:EXTENSION-FAILURE:
  Don't know how to REQUIRE ACACHE.

What is acache?

-Erik
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel

Reply via email to