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

On Jun 25, 2008, at 7:30 PM, Patrick May wrote:

Hi,

I'm trying to build Elephant with the latest Clozure and BDB on a PPC Mac. My my-config.sexp looks like this:

#+(and (or sbcl allegro openmcl lispworks) (not (or mswindows windows)) (or macosx darwin))
((:compiler . :gcc)
(:berkeley-db-include-dir . "/usr/local/BerkeleyDB.4.7/include/")
(:berkeley-db-lib-dir . "/usr/local/BerkeleyDB.4.7/lib/")
(:berkeley-db-lib . "/usr/local/BerkeleyDB.4.7/lib/libdb-4.7.dylib")
(:berkeley-db-deadlock . "/usr/local/BerkeleyDB.4.7/bin/db_deadlock")
(:berkeley-db-cachesize . 5242880)  ; default = 20971520
(:berkeley-db-map-degree2 . t)
(:clsql-lib-paths . nil)
(:prebuilt-libraries . nil))

        When I try to load Elephant, I get this output:

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 #x84CA27E> as ELEPHANT
; loading system definition from /usr/local/asdf-install/site- systems/cl-base64.asd into #<Package "ASDF0">
; registering #<SYSTEM CL-BASE64 #x84D629E> as CL-BASE64
; registering #<SYSTEM CL-BASE64-TESTS #x84EC796> as CL-BASE64-TESTS
; loading system definition from /usr/local/asdf-install/site- systems/uffi.asd into #<Package "ASDF0">
; registering #<SYSTEM UFFI #x84FCFE6> as UFFI
; $ gcc -bundle -fPIC -Wall -O2 -g /Users/Patrick/src/lisp/elephant/ src/memutil/libmemutil.c -o /Users/Patrick/src/lisp/elephant/src/ memutil/libmemutil.dylib -lm
Attempting to load libmemutil.dylib...
Loaded /Users/Patrick/src/lisp/elephant/src/memutil/libmemutil.dylib
;Compiler warnings for "/Users/Patrick/src/lisp/elephant/src/ elephant/controller.lisp" :
;   In INITIALIZE-USER-PARAMETERS: Unused lexical variable VARIABLE
; 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 #x8485A96> on #<CL-SOURCE-FILE "controller" #x847EAB6>. ; 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/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 #x8485A96> on #<CL-SOURCE-FILE "collections" #x847E63E>. ; 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/src/ elephant/unicode2.lisp" : ; In (DESERIALIZE-STRING :AROUND (T T)): Unused lexical variable TEMP-STRING ; In (DESERIALIZE-STRING :AROUND (T T)): Unused lexical variable BSTREAM ; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL #x8485A96> on #<CL-SOURCE-FILE "unicode2" #x848713E>. ; 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/src/ elephant/classindex-utils.lisp" : ; In ELEPHANT::APPLY-SYNCH-RULE: In the call to ELEPHANT:ADD-CLASS- DERIVED-INDEX with arguments (CLASS ELEPHANT::NAME :UPDATE-CLASS NIL), ; the variable portion of the argument list (NIL) contains an odd number ; of arguments and so can't be used to initialize keyword parameters ; for the definition of ELEPHANT:ADD-CLASS-DERIVED-INDEX visible in the current compilation unit. ;Compiler warnings for "/Users/Patrick/src/lisp/elephant/src/ elephant/classes.lisp" : ; In (REINITIALIZE-INSTANCE :AROUND (ELEPHANT:PERSISTENT- METACLASS)): In the call to ELEPHANT::WIPE-CLASS-INDEXING with arguments (ELEPHANT::INSTANCE ELEPHANT::CLASS-IDX), ; the variable portion of the argument list (ELEPHANT::CLASS- IDX) contains an odd number ; of arguments and so can't be used to initialize keyword parameters ; for the definition of ELEPHANT::WIPE-CLASS-INDEXING visible in the current compilation unit.
NIL

Has anyone managed to build successfully with this combination?

Thanks,

Patrick

_______________________________________________
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