[elephant-devel] Fail to load elephant 0.60 on fedora core 4 + sbcl

Ian Eslick eslick at csail.mit.edu
Thu Dec 14 14:53:42 UTC 2006


What was your error with 0.6.0 on fedora and SBCL 0.9.16?  That  
configuration should work.

The current CVS HEAD requires BDB 4.4 to compile correctly.  HEAD is  
not guaranteed to be stable and should only be used by developers.

Lispworks should work with 0.6.0, we just don't have people who test  
it regularly and none of the developers use it.  If you would like to  
test the releases for Lispworks it should be easier to maintain a  
working version.

Regards,
Ian

On Dec 13, 2006, at 9:45 PM, Lui Fungsin wrote:

> Hi all,
>
> I was wondering if anyone can help here. I tried to compile elephant
> 0.60 on fedora core 4 + sbcl 0.9.16 + bdb43 but got stuck with an
> error.
>
> I also tried the cvs version which failed to compile the c file at  
> this line
>
>  errno = db->compact(db, txnid,
> 		     &DBTStart,
> 		     &DBTStop,
> 		     NULL,
> 		     flags,
> 		      &DBTEnd);
>
>
> Since elephant depends on so many components (lisp implementation, OS,
> bdb 4.3 / 4.4, clsql... etc), it is a lot of work to find out what
> combination works and what doesn't.
>
> I usually use lispworks (win32 or linux) with most of Ediware. Since
> elephant does not support lispworks, I need to find another setup that
> works with elephant + Ediware.
>
> It would be great if people can report their working setup. (BTW,
> lispworks and ACL are really solid. Since ACL is untouchable by most
> people, I really wished that elephant can support lispworks in the
> future.)
>
> Thanks!
> -- Fungsin
>
> ;; config.lisp changes for 0.60
>
> (defparameter *sleepycat-foreign-library-path*
>       "/lib/libdb-4.3.so")
>
> (defparameter *sleepycat-pthreads-path*
>  "/lib/libpthread-2.3.5.so")	
>
> ;; following the instructions from the INSTALL file
>
> This is SBCL 0.9.16, an implementation of ANSI Common Lisp.
>
> * (asdf:operate 'asdf:load-op :elephant)
> * (asdf:operate 'asdf:load-op :ele-bdb)
> * (asdf:operate 'asdf:load-op :rt)
> * (asdf:operate 'asdf:load-op :elephant-tests)
> ......
> ; file: /home/test/apps/cl/elephant-0.6.0/tests/testindexing.lisp
> ; in: DEFUN ELEPHANT-TESTS::NORMAL-RANGE-LOOKUP
> ;     (ELEPHANT-TESTS::STRESS1 ELEPHANT-TESTS::VAL)
> ;
> ; caught STYLE-WARNING:
> ;   undefined function: ELEPHANT-TESTS::STRESS1
>
> ;
> ; caught STYLE-WARNING:
> ;   This function is undefined:
> ;     ELEPHANT-TESTS::STRESS1
> ;
> ; compilation unit finished
> ;   caught 2 STYLE-WARNING conditions
> ;   printed 1 note
> NIL
> * (in-package :ele-tests)
>
> #<PACKAGE "ELEPHANT-TESTS">
> * (setf *default-spec* *testbdb-spec*)
>
> (:BDB "/home/test/apps/cl/elephant-0.6.0/tests/testdb/")
> * (do-backend-tests)
>
> debugger invoked on a SLEEPYCAT::DB-ERROR in thread #<THREAD "initial
> thread" {A62F531}>:
>  Berkeley DB error: Invalid argument
>
> Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.
>
> restarts (invokable by number or by possibly-abbreviated name):
>  0: [ABORT] Exit debugger, returning to top level.
>
> (SLEEPYCAT::DB-ENV-OPEN
> #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X0817F970 :TYPE (* T)>
> "/home/test/apps/cl/elephant-0.6.0/tests/testdb/"
> :JOINENV
> NIL
> :INIT-CDB
> NIL
> :INIT-LOCK
> T
> :INIT-LOG
> T
> :INIT-MPOOL
> T
> :INIT-REP
> NIL
> :INIT-TXN
> T
> :RECOVER
> NIL
> :RECOVER-FATAL
> NIL
> :CREATE
> T
> :LOCKDOWN
> NIL
> :PRIVATE
> NIL
> :SYSTEM-MEM
> NIL
> :THREAD
> T
> :MODE
> 416)
> 0]:backtrace
>
> 0: (SLEEPYCAT::DB-ENV-OPEN
>    #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X0817F970 :TYPE (* T)>
>    "/home/test/apps/cl/elephant-0.6.0/tests/testdb/"
>    :JOINENV
>    NIL
>    :INIT-CDB
>    NIL
>    :INIT-LOCK
>    T
>    :INIT-LOG
>    T
>    :INIT-MPOOL
>    T
>    :INIT-REP
>    NIL
>    :INIT-TXN
>    T
>    :RECOVER
>    NIL
>    :RECOVER-FATAL
>    NIL
>    :CREATE
>    T
>    :LOCKDOWN
>    NIL
>    :PRIVATE
>    NIL
>    :SYSTEM-MEM
>    NIL
>    :THREAD
>    T
>    :MODE
>    416)
> 1: ((SB-PCL::FAST-METHOD ELEPHANT::OPEN-CONTROLLER
>     (SLEEPYCAT::BDB-STORE-CONTROLLER))
>    (#(3 2) . #())
>    #<unavailable argument>
>    #<SLEEPYCAT::BDB-STORE-CONTROLLER {C3AB301}>
>    (:RECOVER NIL :RECOVER-FATAL NIL :THREAD T))
> 2: (OPEN-STORE
>    (:BDB "/home/test/apps/cl/elephant-0.6.0/tests/testdb/")
>    :RECOVER
>    NIL
>    :RECOVER-FATAL
>    NIL
>    :THREAD
>    T)
> 3: (DO-BACKEND-TESTS (:BDB "/home/test/apps/cl/elephant-0.6.0/tests/ 
> testdb/"))
> 4: (SB-INT:EVAL-IN-LEXENV (DO-BACKEND-TESTS) #<NULL-LEXENV>)
> 5: (SB-EXT:INTERACTIVE-EVAL (DO-BACKEND-TESTS))
> 6: (SB-IMPL::REPL-FUN NIL)
> 7: ((LAMBDA ()))
> 8: ((LAMBDA ()))
> 9: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA #) {AD5A285}>)
> 10: (SB-IMPL::TOPLEVEL-REPL NIL)
> 11: (SB-IMPL::TOPLEVEL-INIT)
> 12: ((LABELS SB-IMPL::RESTART-LISP))
> _______________________________________________
> 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