[elephant-devel] Problem installing with latest Clozure

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


We don't support BDB 4.7 yet (4.5 and 4.6 only)
Sent from my BlackBerry

-----Original Message-----
From: Chris Van Dusen <cavandusen at gmail.com>

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


I'm having a problem on PPC Mac with CCL, as well, although the error  
that I'm getting is:

Berkeley DB error #22: Invalid argument
    [Condition of type BDB-DB-ERROR]

In the Slime buffer, it shows:

; loading system definition from /Users/chrisvandusen/.asdf-install- 
dir/systems/ele-bdb.asd into #<Package "ASDF0">
; registering #<SYSTEM ELE-BDB #x89A1056> as ELE-BDB
Attempting to load libmemutil.dylib...
Loaded /Users/chrisvandusen/.asdf-install-dir/site/elephant-unstable/ 
src/memutil/libmemutil.dylib
; $ gcc -L/usr/local/BerkeleyDB.4.7/lib/ -I/usr/local/BerkeleyDB.4.7/ 
include/ -bundle -fPIC -Wall -g -O2 -g /Users/chrisvandusen/.asdf- 
install-dir/site/elephant-unstable/src/db-bdb/libberkeley-db.c -o / 
Users/chrisvandusen/.asdf-install-dir/site/elephant-unstable/src/db- 
bdb/libberkeley-db.dylib -lm -ldb-4.7
Loading /usr/local/BerkeleyDB.4.7/lib/libdb-4.7.dylib
Attempting to load libberkeley-db.dylib...
Loaded /Users/chrisvandusen/.asdf-install-dir/site/elephant-unstable/ 
src/db-bdb/libberkeley-db.dylib
; Warning: Redefining STRUCT DB-LOCK fields to be:
;          (#<FOREIGN-RECORD-FIELD #1=#<FOREIGN-INTEGER-TYPE  
(:UNSIGNED 32) #x8346F76> OFF 32 at 0> #<FOREIGN-RECORD-FIELD #1# NDX  
32 at 32> #<FOREIGN-RECORD-FIELD #1# GEN 32 at 64> #<FOREIGN-RECORD-FIELD  
#2=#<FOREIGN-INTEGER-TYPE (:SIGNED 32) #x8347136> MODE 32 at 96>)
;          were
;          (#<FOREIGN-RECORD-FIELD #1# DB-BDB-C45::OFF 32 at 0>  
#<FOREIGN-RECORD-FIELD #1# DB-BDB-C45::NDX 32 at 32> #<FOREIGN-RECORD- 
FIELD #1# DB-BDB-C45::GEN 32 at 64> #<FOREIGN-RECORD-FIELD #2# DB-BDB- 
C45::MODE 32 at 96>)
; While executing: CCL::PARSE-FOREIGN-RECORD-TYPE, in process repl- 
thread(5).
; Warning: Redefining STRUCT DB-LOCKREQ fields to be:
;          (#<FOREIGN-RECORD-FIELD #1=#<FOREIGN-INTEGER-TYPE (:SIGNED  
32) #x8347136> OP 32 at 0> #<FOREIGN-RECORD-FIELD #1# MODE 32 at 32>  
#<FOREIGN-RECORD-FIELD #2=#<FOREIGN-INTEGER-TYPE (:UNSIGNED 32)  
#x8346F76> TIMEOUT 32 at 64> #<FOREIGN-RECORD-FIELD #3=#<FOREIGN-ARRAY- 
TYPE (ARRAY (:SIGNED 8)) #x894DCE6> OBJ 8 at 96> #<FOREIGN-RECORD-FIELD  
#4=#<FOREIGN-POINTER-TYPE (:* (:STRUCT DB-BDB-C45::DB-LOCK (OFF  
(:UNSIGNED 32) 32) (NDX (:UNSIGNED 32) 32) (GEN (:UNSIGNED 32) 32)  
(MODE (:SIGNED 32) 32))) #x894DCA6> LOCK 32 at 128>)
;          were
;          (#<FOREIGN-RECORD-FIELD #1# DB-BDB-C45::OP 32 at 0> #<FOREIGN- 
RECORD-FIELD #1# DB-BDB-C45::MODE 32 at 32> #<FOREIGN-RECORD-FIELD #2#  
DB-BDB-C45::TIMEOUT 32 at 64> #<FOREIGN-RECORD-FIELD #3# DB-BDB-C45::OBJ  
8 at 96> #<FOREIGN-RECORD-FIELD #4# DB-BDB-C45::LOCK 32 at 128>)
; While executing: CCL::PARSE-FOREIGN-RECORD-TYPE, in process repl- 
thread(5).
; Warning: Redefining STRUCT DB-LOCK fields to be:
;          (#<FOREIGN-RECORD-FIELD #1=#<FOREIGN-INTEGER-TYPE  
(:UNSIGNED 32) #x8346F76> OFF 32 at 0> #<FOREIGN-RECORD-FIELD #1# NDX  
32 at 32> #<FOREIGN-RECORD-FIELD #1# GEN 32 at 64> #<FOREIGN-RECORD-FIELD  
#2=#<FOREIGN-INTEGER-TYPE (:SIGNED 32) #x8347136> MODE 32 at 96>)
;          were
;          (#<FOREIGN-RECORD-FIELD #1# DB-BDB-C46::OFF 32 at 0>  
#<FOREIGN-RECORD-FIELD #1# DB-BDB-C46::NDX 32 at 32> #<FOREIGN-RECORD- 
FIELD #1# DB-BDB-C46::GEN 32 at 64> #<FOREIGN-RECORD-FIELD #2# DB-BDB- 
C46::MODE 32 at 96>)
; While executing: CCL::PARSE-FOREIGN-RECORD-TYPE, in process repl- 
thread(5).
; Warning: Redefining STRUCT DB-LOCKREQ fields to be:
;          (#<FOREIGN-RECORD-FIELD #1=#<FOREIGN-INTEGER-TYPE (:SIGNED  
32) #x8347136> OP 32 at 0> #<FOREIGN-RECORD-FIELD #1# MODE 32 at 32>  
#<FOREIGN-RECORD-FIELD #2=#<FOREIGN-INTEGER-TYPE (:UNSIGNED 32)  
#x8346F76> TIMEOUT 32 at 64> #<FOREIGN-RECORD-FIELD #3=#<FOREIGN-ARRAY- 
TYPE (ARRAY (:SIGNED 8)) #x894DCE6> OBJ 8 at 96> #<FOREIGN-RECORD-FIELD  
#4=#<FOREIGN-POINTER-TYPE (:* (:STRUCT DB-BDB-C45::DB-LOCK (OFF  
(:UNSIGNED 32) 32) (NDX (:UNSIGNED 32) 32) (GEN (:UNSIGNED 32) 32)  
(MODE (:SIGNED 32) 32))) #x894DCA6> LOCK 32 at 128>)
;          were
;          (#<FOREIGN-RECORD-FIELD #1# DB-BDB-C46::OP 32 at 0> #<FOREIGN- 
RECORD-FIELD #1# DB-BDB-C46::MODE 32 at 32> #<FOREIGN-RECORD-FIELD #2#  
DB-BDB-C46::TIMEOUT 32 at 64> #<FOREIGN-RECORD-FIELD #3# DB-BDB-C46::OBJ  
8 at 96> #<FOREIGN-RECORD-FIELD #4# DB-BDB-C46::LOCK 32 at 128>)
; While executing: CCL::PARSE-FOREIGN-RECORD-TYPE, in process repl- 
thread(5).
;Compiler warnings for "/Users/chrisvandusen/.asdf-install-dir/site/ 
elephant-unstable/src/db-bdb/bdb-controller.lisp" :
;   In (DEFAULT-CLASS-ID (T BDB-STORE-CONTROLLER)): Duplicate keyform  
QUOTE in ECASE statement.
;   In (DEFAULT-CLASS-ID (T BDB-STORE-CONTROLLER)): Duplicate keyform  
QUOTE in ECASE statement.
;   In (DEFAULT-CLASS-ID (T BDB-STORE-CONTROLLER)): Duplicate keyform  
QUOTE in ECASE statement.
; Warning: COMPILE-FILE warned while performing #<COMPILE-OP NIL  
#x890209E> on #<CL-SOURCE-FILE "bdb-controller" #x89032C6>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process repl-thread(5).
; Warning: COMPILE-FILE failed while performing #<COMPILE-OP NIL  
#x890209E> on #<CL-SOURCE-FILE "bdb-controller" #x89032C6>.
; While executing: #<STANDARD-METHOD ASDF:PERFORM (ASDF:COMPILE-OP  
ASDF:CL-SOURCE-FILE)>, in process repl-thread(5).

Let me know if there is any more information that I can provide.

Thanks,
Chris.
On Jun 26, 2008, at 3:57 PM, Patrick May wrote:

> 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
>
> 	Will do, as soon as I have a chance.  Thanks,
>
> Regards,
>
> Patrick
>
> ----
> pjm at spe.com
> S P Engineering, Inc.
> Large scale, mission-critical, distributed OO systems design and  
> implementation.
> (C++, Java, Common Lisp, Jini, middleware, SOA)
>
>
>
> _______________________________________________
> elephant-devel site list
> elephant-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/elephant-devel

_______________________________________________
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