Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2010-01-05 Thread Plamen .
Hello Ian, Elliott, I haven't much more time over the Chrismass days, but whatI have seen so far is : Btw - the problem with Elephant/BDB on LWW is not really an Elephant one - if compiling under cygwin - there is a clash between the cygwin and bdb definition of ssize_t, they have different sizes

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-09 Thread Plamen .
And this are the contents of the ENV struct passed from Lisp to db_env_open (function pointers and the max-transactions and max-locks omitted because of the invalid argument error...) - may be someone would spot something... Regards $14 = { env = 0x1829500, mtx_db_env = 0, db_errcall = 0,

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-09 Thread Plamen .
Hello Ian, Elliott, now I (learned some GDB, btw, Elliott - ty a lot for the compiler options for GCC) debugged also the C side of the Elephant under LWW-32bit/BDB 4.7.25 and... everything looks ok as ordered by the Lisp-side of the inteface - all parameters to the db_env_open are passed as expect

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-08 Thread Ian Eslick
I don't think BDB 4.7 has been tested on windows until now. I'm surprised 4.5 works with the latest head - but it's probably because you aren't exercising some of the 4.7 features Leslie added. On Dec 8, 2009, at 1:14 PM, Elliott Slaughter wrote: > On Tue, Dec 8, 2009 at 12:19 PM, Ian Eslick

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-08 Thread Elliott Slaughter
On Tue, Dec 8, 2009 at 12:19 PM, Ian Eslick wrote: > Elliott - these DLLs work on your system w/ Lispworks? Is everything > working for you? I just want to make sure we have a baseline. > I went back to my Windows XP build, which I know worked once upon a time, and updated to the newest Elepha

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-08 Thread Ian Eslick
FYI - those warnings are not significant. Elliott - these DLLs work on your system w/ Lispworks? Is everything working for you? I just want to make sure we have a baseline. Thanks, Ian On Dec 8, 2009, at 12:17 PM, Elliott Slaughter wrote: > On Tue, Dec 8, 2009 at 12:16 AM, Plamen . wrote: >

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-08 Thread Elliott Slaughter
On Tue, Dec 8, 2009 at 12:16 AM, Plamen . wrote: > Elliot, if you give me a script to compile the DLLs with GCC (I have > the memutil one, but not the libberkeley-db.dll and following what is > wirttten in the .ASD file doesn't produce for me the DLLs), I could > start learning the GDB to try to

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-08 Thread Plamen .
Hi Elliott, Jan ok, I had a setup in which I have only BDB 4.7.25 on the laptop, no more CFFI and only the newest UFFI. The my-config.sexp states "4.7" as a version and I removed all the constants from previous BDB versions in the bberkeley-constants.lisp as well as all existing FASLs.I use Elliot

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-07 Thread Ian Eslick
The error 22 is almost always an issue with: 1) Mismatch between code, libberkeley-db, BDB DLL assumptions about BDB version Are you sure your code is using constants for BDB-4.7 (set in my-config.sexp) 2) CFFI/UFFI 3) Sometimes I've seen this be a 64-bit vs. 32-bit issue Your db-env-set

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-07 Thread Elliott Slaughter
On Mon, Dec 7, 2009 at 1:46 PM, Plamen . wrote: > Hello Elliott & Jan, > > ty a lot for the DLLs - especially the libberkeley-db.dll saved me may > be hours today looking in the gcc & dlltool docs... > No problem :-) But - now it seems LWW can talk to the DLLs & DB, but: > > 1. in the OPEN-CONT

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-07 Thread Plamen .
Hello Elliott & Jan, ty a lot for the DLLs - especially the libberkeley-db.dll saved me may be hours today looking in the gcc & dlltool docs... But - now it seems LWW can talk to the DLLs & DB, but: 1. in the OPEN-CONTROLLER (in the bdb-controller.lisp) I get some new errors now : - (db-env-

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-07 Thread Elliott Slaughter
Here are the dlls I built for the newest version of Elephant with BDB 4.7.25. If they work for you, then Ian can put them on the project page. Hope this helps. On Mon, Dec 7, 2009 at 10:21 AM, Ian Eslick wrote: > Elliott said he was going to give this a shot. You might correspond with > him dir

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-07 Thread Ian Eslick
Elliott said he was going to give this a shot. You might correspond with him directly. -Ian On Dec 7, 2009, at 12:09 AM, Plamen . wrote: > Hello Ian, > > thank you for the quick response! > > On Sun, Dec 6, 2009 at 5:44 PM, Ian Eslick wrote: >> Hey, quick answers: >> >> 1) In the online FAQ

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-07 Thread Plamen .
Hello Ian, thank you for the quick response! On Sun, Dec 6, 2009 at 5:44 PM, Ian Eslick wrote: > Hey, quick answers: > > 1) In the online FAQ you'll notice that you have to ensure that you are using > uffi and not the uffi compatibility package from cffi. Ok, had missed that... > 2) The prebu

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-06 Thread Elliott Slaughter
On Sun, Dec 6, 2009 at 8:44 AM, Ian Eslick wrote: > 2) The prebuilt DLLs are not up to date (sorry!), they need to be made > current against BDB 4.7 which Elephant 1.0 depends on. > Is Elephant incompatible with BDB 4.5? That could be part of the problem, since it sounds like Plamen is trying to

Re: [elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-06 Thread Ian Eslick
Hey, quick answers: 1) In the online FAQ you'll notice that you have to ensure that you are using uffi and not the uffi compatibility package from cffi. 2) The prebuilt DLLs are not up to date (sorry!), they need to be made current against BDB 4.7 which Elephant 1.0 depends on. 3) We have one or

[elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-05 Thread Plamen .
Hello, I need to use BDB for my current application and from what I see on the net, elephant seems to be the most mature and functional solution. After following the installation instructions (I use LispWorks 5.1.2 for Windows - yes - I need that configuration at the moment, with Berkeley DB 4.5.20

[elephant-devel] Problem with LWW 5.1.2, BDB-backend

2009-12-05 Thread Plamen .
Sorry if posted twice... Hello, I need to use BDB for my current application and from what I see on the net, elephant seems to be the most mature and functional solution. After following the installation instructions (I use LispWorks 5.1.2 for Windows - yes - I need that configuration at the mome