[elephant-devel] Berkeley DB error: Invalid argument
Raja Ramachandran
raja at 1to1card.com
Sat Mar 8 17:50:49 UTC 2008
On Saturday 08 March 2008 11:44:08 Ian Eslick wrote:
> Ah, you have the 0.9.1 release version. Can you send the contents of
> your my-config.sexp?
;; Linux defaults
#+(and (or sbcl allegro openmcl lispworks) (not (or mswindows windows)) (not
(or macosx darwin)))
((:compiler . :gcc)
(:berkeley-db-include-dir . "/usr/include/")
(:berkeley-db-lib-dir . "/usr/lib/")
(:berkeley-db-lib . "/usr/lib/libdb-4.5.so")
(:berkeley-db-deadlock . "/usr/bin/db_deadlock")
(:berkeley-db-cachesize . 20971520)
(:berkeley-db-map-degree2 . t)
(:clsql-lib-paths . nil)
(:prebuilt-libraries . nil))
I'm upgrading the system to the next ubuntu release to see if it works there.
Thanks
Raja
>
> On Mar 8, 2008, at 12:40 PM, Raja Ramachandran wrote:
> > On Saturday 08 March 2008 11:27:18 John Leuner wrote:
> >> How did you install it? Did you install libdb?
> >
> > I installed elephant via the darcs repository.
> >
> >
> > libdb - I used the libdb-4.5 packages from the ubuntu repository:
> >
> > libdb4.5 - Berkeley v4.5 Database Libraries [runtime]
> > libdb4.5-dev - Berkeley v4.5 Database Libraries [development]
> >
> >
> > Thanks
> > Raja
> >
> >> John
> >>
> >> On Sat, 2008-03-08 at 11:01 -0600, Raja Ramachandran wrote:
> >>> Hello -
> >>>
> >>> I keep getting this error when I open an existing store or just
> >>> when I
> >>> open a new store:
> >>>
> >>>
> >>> SVC> (elephant:open-store '(:BDB "/home/raja/dev/"))
> >>>
> >>> Berkeley DB error: Invalid argument
> >>> [Condition of type BDB-DB-ERROR]
> >>>
> >>> Restarts:
> >>> 0: [ABORT] Return to SLIME's top level.
> >>> 1: [ABORT] Exit debugger, returning to top level.
> >>>
> >>> Backtrace:
> >>> 0: (DB-BDB::DB-ENV-SET-FLAGS #<unavailable argument> #<unavailable
> >>> argument>)
> >>> Locals:
> >>> SB-DEBUG::ARG-0 = :<NOT-AVAILABLE>
> >>> SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
> >>> SB-DEBUG::ARG-2 = :<NOT-AVAILABLE>
> >>> 1: ((SB-PCL::FAST-METHOD ELEPHANT::OPEN-CONTROLLER
> >>> (DB-BDB::BDB-STORE-CONTROLLER)) #<unavailable lambda list>)
> >>> [No Locals]
> >>> 2: (OPEN-STORE (:BDB "/home/raja/dev/"))
> >>> Locals:
> >>> SB-DEBUG::ARG-0 = 1
> >>> SB-DEBUG::ARG-1 = (:BDB "/home/raja/dev/")
> >>> 3: (SB-INT:SIMPLE-EVAL-IN-LEXENV (OPEN-STORE (QUOTE
> >>> (:BDB "/home/raja/dev/"))) #<NULL-LEXENV>)
> >>>
> >>>
> >>> This is a ubuntu feisty machine running SBCL 1.0.12. I pulled the
> >>> elephant package from:
> >>>
> >>> darcs get --tag=ELEPHANT-0-9-1
> >>> http://www.common-lisp.net/project/elephant/darcs/elephant
> >>>
> >>>
> >>> Please let me know if you need any more information and any help
> >>> in this
> >>> would be appreciated.
> >>>
> >>> Thanks
> >>> Raja R.
> >>> _______________________________________________
> >>> 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
> >
> > --
> > Raja Ramachandran
> > One To One Marketing Solutions
> > 1005 Internationale Parkway, Suite 230
> > Woodridge, IL 60517
> > (630)-754-4800 x 102
> > _______________________________________________
> > 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
--
Raja Ramachandran
One To One Marketing Solutions
1005 Internationale Parkway, Suite 230
Woodridge, IL 60517
(630)-754-4800 x 102
More information about the elephant-devel
mailing list