[elephant-devel] Problem installing with latest Clozure

Ian Eslick eslick at media.mit.edu
Fri Jun 27 11:08:36 UTC 2008


The right command is

(open-store '(:BDB "dirname"))

Sent from my BlackBerry

-----Original Message-----
From: Patrick May <pjm at spe.com>

Date: Thu, 26 Jun 2008 22:16:00 
To:Elephant bugs and development <elephant-devel at common-lisp.net>
Subject: Re: [elephant-devel] Problem installing with latest Clozure


On 26 Jun 2008, at 09:01, Ian Eslick wrote:
> Those errors seem to indicate a pretty messed up installation.  Can  
> you pull a fresh version of Elephant from the elphant-unstable darcs  
> repository (http://www.common-lisp.net/project/elephant/darcs/elephant-unstable 
> ) and try again.  The build did once work on Clozure as recent as  
> 0.9 - but I'd rather put debugging time into unstable as we're  
> hoping to release a 1.0beta1 as soon as we can.
>
> Thank you,
> Ian

	I used darcs to grab elephant-unstable and got the following results:

Welcome to Clozure Common Lisp Version 1.2-r9226-RC1  (DarwinPPC32)!
?  (asdf:operate 'asdf:load-op :elephant)
; loading system definition from elephant.asd into #<Package "ASDF0">
; registering #<SYSTEM ELEPHANT #x8600A06> as ELEPHANT
; loading system definition from /usr/local/asdf-install/site-systems/ 
cl-base64.asd into #<Package "ASDF0">
; registering #<SYSTEM CL-BASE64 #x8625DF6> as CL-BASE64
; registering #<SYSTEM CL-BASE64-TESTS #x863BD96> as CL-BASE64-TESTS
; $ gcc -bundle -fPIC -Wall -g -O2 -g /Users/Patrick/src/lisp/elephant- 
unstable/src/memutil/libmemutil.c -o /Users/Patrick/src/lisp/elephant- 
unstable/src/memutil/libmemutil.dylib -lm
Attempting to load libmemutil.dylib...
Loaded /Users/Patrick/src/lisp/elephant-unstable/src/memutil/ 
libmemutil.dylib
;Compiler warnings for "/Users/Patrick/src/lisp/elephant-unstable/src/ 
elephant/classes.lisp" :
;   In (SHARED-INITIALIZE :AROUND (PERSISTENT-METACLASS T)): Unused  
lexical variable INDEX
;   In (REINITIALIZE-INSTANCE :AROUND (PERSISTENT-METACLASS)): Unused  
lexical variable INITARGS
;   In (INITIALIZE-INSTANCE :AROUND (PERSISTENT-OBJECT)): Unused  
lexical variable INITARGS
;   In (RECREATE-INSTANCE (PERSISTENT-OBJECT)) inside an anonymous  
lambda form: Unused lexical variable ARGS
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
#x8598B8E> on #<CL-SOURCE-FILE "classes" #x859304E>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process listener(1).
;Compiler warnings for "/Users/Patrick/src/lisp/elephant-unstable/src/ 
elephant/controller.lisp" :
;   In (OPEN-CONTROLLER :AFTER (STORE-CONTROLLER)): Unused lexical  
variable ARGS
;   In (CONTROLLER-PROPERTIES (STORE-CONTROLLER)): In the call to GET- 
FROM-ROOT with arguments (*ELEPHANT-PROPERTIES-LABEL* :STORE- 
CONTROLLER SC),
;     the keyword argument :STORE-CONTROLLER is not one of (:SC),  
which are recognized
;     by the definition of GET-FROM-ROOT visible in the current  
compilation unit.
;   In (SET-ELE-PROPERTY (T T)): In the call to GET-FROM-ROOT with  
arguments (*ELEPHANT-PROPERTIES-LABEL* :STORE-CONTROLLER SC),
;     the keyword argument :STORE-CONTROLLER is not one of (:SC),  
which are recognized
;     by the definition of GET-FROM-ROOT visible in the current  
compilation unit.
;   In (GET-ELE-PROPERTY (T)): In the call to GET-FROM-ROOT with  
arguments (*ELEPHANT-PROPERTIES-LABEL* :STORE-CONTROLLER SC),
;     the keyword argument :STORE-CONTROLLER is not one of (:SC),  
which are recognized
;     by the definition of GET-FROM-ROOT visible in the current  
compilation unit.
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
#x8598B8E> on #<CL-SOURCE-FILE "controller" #x859232E>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process listener(1).
;Compiler warnings for "/Users/Patrick/src/lisp/elephant-unstable/src/ 
elephant/schema-evolution.lisp" :
;   In (UPGRADE-ALL-MEMORY-INSTANCES (STORE-CONTROLLER)): Undeclared  
free variable VALUE
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
#x8598B8E> on #<CL-SOURCE-FILE "schema-evolution" #x8591E9E>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process listener(1).
; Warning: COMPILE-FILE failed while performing #<COMPILE-OP NIL  
#x8598B8E> on #<CL-SOURCE-FILE "schema-evolution" #x8591E9E>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process listener(1).
;Compiler warnings for "/Users/Patrick/src/lisp/elephant-unstable/src/ 
elephant/collections.lisp" :
;   In (MAP-BTREE (T BTREE)): Unused lexical variable ARGS
;   In (MAP-INDEX (T BTREE-INDEX)): Unused lexical variable ARGS
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
#x8598B8E> on #<CL-SOURCE-FILE "collections" #x8591536>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process listener(1).
;Compiler warnings for "/Users/Patrick/src/lisp/elephant-unstable/src/ 
elephant/query.lisp" :
;   In SORT-TUPLES: Unused lexical variable KEY-FN
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
#x85969DE> on #<CL-SOURCE-FILE "query" #x858BEDE>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process listener(1).
NIL
? (use-package :elephant)
T
? (open-store :bdb "/Users/Patrick/src/lisp/elephant-dbb/")
 > Error: Failed assertion: (CONSP ELEPHANT::SPEC)
 > While executing: CCL::%ASSERTION-FAILURE, in process listener(1).
 > Type :GO to continue, :POP to abort, :R for a list of available  
restarts.
 > If continued: test the assertion again.
 > Type :? for other options.
1 >

	Any ideas?

Thanks,

Patrick

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


More information about the elephant-devel mailing list