Hi folks!

Sorry for posting this Elephant specific issue to this list.
Unfortunately, my original posting to the Elephant mailing list
was blocked.

Maybe somebody on this list had a similar problem in the past
and can help me to fix it.

I have installed Elephant (elephant-20111001-darcs)
via Quicklisp. Following the installation guide I have
compiled and installed Berkeley DB 4.5 from the source
and modified my-config.sexp in the root directory
of Elephant accordingly.

After loading "elephant" I have tried to open
a sample store and got the follwoing error:

--------------------------------------------------------------------
CL-USER> (ql:quickload :elephant)
To load "elephant":
  Load 1 ASDF system:
    elephant
; Loading "elephant"
Attempting to load libmemutil.so...
Loaded /home/nik/.cache/common-lisp/ccl-1.7-f95-linux-x64/home/nik/
quicklisp/dists/quicklisp/software/elephant-20111001-darcs/src/memutil/
libmemutil.so

(:ELEPHANT)
CL-USER> (defpackage #:test
         (:use :cl :elephant))
#<Package "TEST">
CL-USER> (in-package :test)
#<Package "TEST">
TEST> (open-store '(:BDB "/home/nik/tmp/test-db/"))

Component "ele-bdb" not found
   [Condition of type ASDF:MISSING-COMPONENT]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT-BREAK] Reset this thread
 3: [ABORT] Kill this thread
--------------------------------------------------------------------

I'm using Clozure CL 1.7-r14925M on Archlinux (64bit).
I have installed BerkeleyDB 4.5 in /usr/local/lisp/elephant/
BerkelyDB-4.5:

tar -xzf db-4.5.20.tar.gz; cd db-4.5.20/build_unix;
../dist/configure --prefix=/usr/local/lisp/elephant/BerkelyDB-4.5;
make; make install

Here is the content of my-config.sexp:
---------------------------------------------------------------------------
;; ==============
;; Linux defaults
;; ==============
;;
#+(and (or sbcl allegro openmcl lispworks) (not (or mswindows windows
win32)) (not (or macosx darwin)))
((:compiler . :gcc)
 (:berkeley-db-version . "4.5")
 (:berkeley-db-include-dir . "/usr/local/lisp/elephant/BerkeleyDB-4.5/
include/")
 (:berkeley-db-lib-dir . "/usr/local/lisp/elephant/BerkeleyDB-4.5/
lib/")
 (:berkeley-db-lib . "/usr/local/lisp/elephant/BerkeleyDB-4.5/lib/
libdb-4.5.so")
 (:berkeley-db-deadlock . "/usr/local/lisp/elephant/BerkeleyDB-4.5/bin/
db_deadlock")
 (:berkeley-db-cachesize . 20971520)
 (:berkeley-db-max-locks . 2000)
 (:berkeley-db-max-objects . 2000)
 (:berkeley-db-max-transactions . 1000)
 (:berkeley-db-map-degree2 . t)
 (:berkeley-db-mvcc . nil)
 (:clsql-lib-paths . nil)
 (:prebuilt-libraries . nil)
 (:warn-when-dropping-persistent-slots . t)
 (:return-null-on-missing-instance . t)
 (:no-deserialization-package-found-action . :warn))
---------------------------------------------------------------------------

Any help is very much appreciated!

Regards
Nik

PS: I also tested it using SBCL 1.0.52 and got the same error!

-- 
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en.

Reply via email to