Re: [elephant-devel] Memory corruption in open-store

2010-02-18 Thread Sebastian Tennant
Quoth Andrew Kirkpatrick : > Hi, I'm trying to use elephant but with limited success. Running on > Ubuntu 9.04, with clbuild installed SBCL 1.0.35.1 and current Elephant > and dependencies. I tried using contrib/henrik/install-bdb.sh to install > Berkeley DB 4.5 and set up my-config.sexp as it s

Re: [elephant-devel] Elephant in Production and the Elephant 1.0 Release

2009-12-07 Thread Sebastian Tennant
Quoth Ian Eslick : > :: Appeal below for help on 1.0 :: > > There is plenty of opportunity for small efforts from volunteers (1-3 hour > chunks) that would greatly accelerate the release cycle. If you write to me > directly, I'd be willing to put together a 'punchlist' of small projects > along th

Re: [elephant-devel] BDB problems and a proper FAQ

2009-11-24 Thread Sebastian Tennant
Quoth Ian Eslick : > I've posted this FAQ documentation online. It looks good. Thanks. Seb -- Emacs' AlsaPlayer - Music Without Jolts Lightweight, full-featured and mindful of your idyllic happiness. http://home.gna.org/eap ___ elephant-devel site l

Re: [elephant-devel] "file is not of required architecture"

2009-11-22 Thread Sebastian Tennant
Quoth Sebastian Tennant : > Quoth Ian Eslick : >> What were the problems you encountered and solutions you found? >> Anything we should add to the FAQ? > > Nothing (reliable) that isn't already addressed in the FAQ. I suspect there's > something in git SBC

[elephant-devel] Inspecting a bdb store

2009-11-21 Thread Sebastian Tennant
Hi guys, I'm _very_ new to the Berkeley DB way of doing things so please bear with me. map-root allows you to inspect the root BTree of a bdb store, but having created a few instances of a persistent class and performed a map-root, there's no sign of these stored instances. get-instances-by-clas

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-21 Thread Sebastian Tennant
Quoth Ian Eslick : >> I still intend to provide some patches for doc/Makefile and doc/ >> elephant.texinfo. > I'm happy to make the updates if you provide doc patches (for the 1.0 > release) and I'll post the FAQ once we've resolved the current problems. I hope to be able to edit elephant.texin

Re: [elephant-devel] "file is not of required architecture"

2009-11-21 Thread Sebastian Tennant
Quoth Ian Eslick : > What were the problems you encountered and solutions you found? > Anything we should add to the FAQ? Nothing (reliable) that isn't already addressed in the FAQ. I suspect there's something in git SBCL (1.0.32.xx) which was causing me problems on my 32-bit Debian box but I'

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-21 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > Sebastian Tennant wrote: >> If he isn't able to do it, then who is? > Well, with "able" I mostly meant "has the time, motivation and energy". >> Does such a person exist? > I think there are a few candida

Re: [elephant-devel] "file is not of required architecture"

2009-11-21 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > Can you send us the backtrace? Also try compiling libmemutil.so manually. > The patches shouldn't influence the compatibility but it can't harm to apply > them either. I've got elephant working on my Mac as well now - a 32-bit ClozureCL and a patched 32-bit BDB - so t

Re: [elephant-devel] "file is not of required architecture"

2009-11-19 Thread Sebastian Tennant
Quoth Ian Eslick : > The reason I asked for the my-config.sexp is that the my-config you > forwarded some time ago below will fail in the way you are talking > about (undefined symbols as well as unrecognized arguments) because > this file is telling it to use BDB 4.5 headers to talk to 4.7

Re: [elephant-devel] BDB problems and a proper FAQ

2009-11-19 Thread Sebastian Tennant
Quoth Ian Eslick : > What's your my-config look like again? I removed some stale .dx32fsl files and I'm pleased to say that bdb stores are now working with a 32-bit CCL on my Mac. (I ended up in '32-bit mode' while wrangling with SBCL, which I still haven't managed to get working). I'm going to

Re: [elephant-devel] BDB problems and a proper FAQ

2009-11-19 Thread Sebastian Tennant
FFI (not available through clbuild) dependency. We have made attempts to port Berkeley DB to CFFI (available through clbuild) but without success; there are subtle issues that lead to obscure bugs and the original FFI developer who wrote that code left the project in 2003 or 2004 and no one

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-14 Thread Sebastian Tennant
Quoth Henrik Hjelte : > You could perhaps try to remove all fasl and generated files I've been doing that all along. > and recompile with an older sbcl version. Sbcl can have bugs sometimes. This is what I'm going to do. Thanks for the suggestion. I despaired at the thought initially but then

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-14 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > CFFI is younger than UFFI and works in a different way. They provide an > incomplete UFFI compatibility layer, though. Thanks for the clarification. > [Luís is] one of the primary [CFFI] developers I think. But that doesn't mean > that he's able [...] to do this work.

Re: [elephant-devel] "file is not of required architecture"

2009-11-14 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : >> Berkeley DB error #22: Invalid argument >> [Condition of type BDB-DB-ERROR] > Try again after removing libmemutil.so (thus causing Elephant to rebuild it). It fails before this file is built, i.e., there is no libmemutil.so. Instead, there's a strange directory

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-13 Thread Sebastian Tennant
Quoth Robert Synnott : > 2009/11/13 Sebastian Tennant : >> Two isn't many :) > There are certainly more than two. I've used it in a reasonably large > production webapp, and I know of a few other people who've used it. I was joking (hence the smiley) and tr

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-13 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > I don't know much about this. My guess is that this page only lists > authors that have committed a chunk big enough to be relevant in > copyright matters. Yes, I'm sure you're right. > I've contributed a substantial number of fixes and help people when > they face pr

Re: [elephant-devel] "file is not of required architecture"

2009-11-13 Thread Sebastian Tennant
Quoth Sebastian Tennant : > Now let's see if I can get elephant's bdb store working on my Mac. Well, I'm a lot closer, but still not quite there yet. I compiled a 64-bit BerkeleyDB but now I get a 'Berkeley DB error #22: Invalid argument' error message when I try to

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-13 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : >> Would an elephant developer please help. (I'm assuming you're not a >> developer >> Leslie). I really want to start actually using elephant!!!. > I guess you could say there are two somewhat active Elephant developers right > now, and I'm one of them. I'm sorry Les

Re: [elephant-devel] "file is not of required architecture"

2009-11-12 Thread Sebastian Tennant
Quoth "R. Matthew Emerson" : >> Any idea what the magic incantation to ./compile is, or which file I should >> look in to find out? > $ CFLAGS="-arch x86_64" LDFLAGS="-arch x86_64" ../dist/configure Ah!!! Thank you. They're the magic flags I was looking for. Now let's see if I can get elephant'

Re: [elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-12 Thread Sebastian Tennant
Quoth Sebastian Tennant : > Store controller init function not registered for data store BDB. > [Condition of type SIMPLE-ERROR] Scratch the above error - I can no longer reproduce it myself since deciding to delete all relevant fasl files, and starting from scratch. CL-USER> (de

[elephant-devel] BDB stores don't work on my 32-bit Debian box either

2009-11-12 Thread Sebastian Tennant
Hi list, I'm disappointed to have to say that elephant's BDB store doesn't work out-of-the-box on my 32-bit x86 Debian box either: Attempting to load libmemutil.so... Loaded /home/sebyte/lisp/cl/clbuild/source/elephant/src/memutil/libmemutil.so Loading /usr/local/BerkeleyDB.4.7/lib/libdb-4.7.s

Re: [elephant-devel] "file is not of required architecture"

2009-11-12 Thread Sebastian Tennant
Quoth Robert Synnott : > If you install BDB from Oracle's source, you might get a 64bit build (or have > the option to ask for one in the configuration stage). I gather that MacPorts > hasn't been adapted too well for Snow Leopard as yet. Noted, although I'm not actually running Snow Leopard. Any

Re: [elephant-devel] "file is not of required architecture"

2009-11-12 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > On Tue, Nov 10, 2009 at 06:35:38PM +0000, Sebastian Tennant wrote: >> I've installed MacPort's db47 but am getting the same error as before: > Are you sure that it's compiled for 64bit? I've no doubt that's what

Re: [elephant-devel] "file is not of required architecture"

2009-11-10 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > This passage is terribly outdated. Use BDB 4.7. Well I'll update the passage when I submit my patch. In the mean time, it'd be nice to get elephant working on my Mac (I bet it's fine under Debian). I've installed MacPort's db47 but am getting the same error as before

Re: [elephant-devel] "file is not of required architecture"

2009-11-10 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > Is there a specific reason you're not using 4.7? Yes there is. It clearly states in the manual that elephant only works with BerkeleyDB version 4.5. (info "(elephant)Berkeley DB") http://common-lisp.net/project/elephant/doc/Berkeley-DB.html#Berkeley-DB Seb -- Ema

Re: [elephant-devel] Docs in Info format

2009-11-10 Thread Sebastian Tennant
Quoth "Leslie P. Polzer" : > Sebastian Tennant wrote: > >> How about an info target in the Makefile, or a README describing how it's >> done >> at least? > > I'm positive about that, got a patch? I'll look into it. First off, is there a

[elephant-devel] "file is not of required architecture"

2009-11-09 Thread Sebastian Tennant
Hi list, elephant-1.0(git) SBCL(git) Intel Core 2 DuoMacOS X Leopard I built and installed BerkeleyDB 4.5 as per /src/contrib/henrik's script. It compiled prefectly cleanly, withtout any problems at all. my-config.sexp reads: ((:compiler . :gcc) (:ber

[elephant-devel] Docs in Info format

2009-11-09 Thread Sebastian Tennant
Hi there, I am able to build a near fully-functional Info manual by running 'make includes-stuff', visiting elephant.texinfo in emacs, updating all nodes, rebuilding the master menu and removing the html conditional that surrounds it. I can then run 'makeinfo --force elephant.texinfo' with only 3

Re: [elephant-devel] memutil.lisp breaks compile

2009-11-07 Thread Sebastian Tennant
Quoth Henrik Hjelte : > http://www.mail-archive.com/cffi-de...@common-lisp.net/msg01656.html This link appears to be broken (404 Not Found). Was it intended to point to this conversation: http://thread.gmane.org/gmane.lisp.cffi.devel/1720 by chance? > If there is a problem compiling it is usu