[elephant-devel] Problem installing with latest Clozure
Ian Eslick
eslick at media.mit.edu
Sun Jun 29 14:17:33 UTC 2008
Chris got unstable to work on ccl, so my best guess is that there are
stale fasls. Try :force t on asdf:load-op or ensuring that all fasls
are deleted in the src/db-bdb directory.
The error your forwarded refers to constants in DB-BDB-C46 when they
should be referring to DB-BDB-C45. If you get the wrong constants,
then the BDB library is going to complain loudly...
(#<FOREIGN-RECORD-FIELD #1=#<FOREIGN-INTEGER-TYPE (:SIGNED
32) #x83479FE> OP 32 at 0> #<FOREIGN-RECORD-FIELD #1# MODE 32 at 32>
#<FOREIGN-RECORD-FIELD #2=#<FOREIGN-INTEGER-TYPE (:UNSIGNED 32)
#x834783E> TIMEOUT 32 at 64> #<FOREIGN-RECORD-FIELD #3=#<FOREIGN-ARRAY-
TYPE (ARRAY (:SIGNED 8)) #x875E93E> 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))) #x875E8EE> 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
listener(1).
On Jun 29, 2008, at 9:44 AM, Patrick May wrote:
> On 28 Jun 2008, at 21:23, Ian Eslick wrote:
>> Patrick,
>>
>> Can you send the contents of your my-config.sexp? Also, what
>> version of uffi are you using?
>>
>> The big hint here is that the BDB constants your are loading are
>> coming from the C46 constants package and not the C45 package that
>> you should be loading to match the BDB 4.5 that you're compiling.
>> I'm not sure why this is the case; but can you confirm
>> that :berkeley-db-version in your my-config.sexp is "4.5".
>>
>> Ian
>>
>> PS - In looking at your compiler output I've corrected and pushed a
>> patch for a couple of odd typos that probably don't effect this.
>
>
> Ian,
>
> Thanks for the help. My my-config.sexp in elephant-unstable is:
>
> #+(and (or sbcl allegro openmcl lispworks) (not (or mswindows
> windows)) (or macosx darwin))
> ((:compiler . :gcc)
> (:berkeley-db-version . "4.5")
> (:berkeley-db-include-dir . "/usr/local/BerkeleyDB.4.5/include/")
> (:berkeley-db-lib-dir . "/usr/local/BerkeleyDB.4.5/lib/")
> (:berkeley-db-lib . "/usr/local/BerkeleyDB.4.5/lib/libdb-4.5.dylib")
> (:berkeley-db-deadlock . "/usr/local/BerkeleyDB.4.5/bin/db_deadlock")
> (:berkeley-db-cachesize . 5242880)
> (:berkeley-db-max-locks . 2000)
> (:berkeley-db-max-objects . 2000)
> (:berkeley-db-map-degree2 . t)
> (:clsql-lib-paths . nil)
> (:prebuilt-libraries . nil))
>
> 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
More information about the elephant-devel
mailing list