Hi there,
I'm tired of these BDB upgrade issues! :)
I implemented a quick hack that makes the BDB version configurable via
a my-config.sexp option. This patch builds on Anton's patch by
putting BDB version-specific constants into their own package and
importing them at load time in the db-bdb package based on the my-
config.sexp option :berkeley-db-version
Current versions supported are "4.5" and "4.6". This patch, which I
have committed, passes my BDB tests on "4.5" so it doesn't break
anything. It needs to be tested on 4.6, but that support is is based
on Anton's patch and I verified that "4.6" symbols get loaded properly
so we should be good to go.
Please let me know if there are any snafus.
Ian
On Feb 25, 2008, at 11:23 PM, Robert L. Read wrote:
Dear Team,
On Dec. 30th, Anton Kazennikov submitted the attached patch to make
Elephant work with BDB 4.6. (THANKS!) I twiddled my thumbs about it,
in part because I didn't know how many people were ready for 4.6.
It now seems that the time is ripe to make the move from 4.5 to 4.6
in
the main repository. Anton's patch stimulated some discussion about
how
to allow one to configure for different versions, however, I suggest
that we simply move to 4.6 as the default now, unless someone
volunteers
to make the BDB version configurable.
I now have BDB working on my x86_64, and am green under BDB 4.6 with
this patch.
Moving to 4.6 will mean that if you do an update of the latest
repository (which will NOT be an official release for some months, I
think), and you use BDB, you would have to upgrade your BDB to 4.6.
If you object to this move, please reply by Thursday.
Until then, if you want to use 4.6, you may want to use the attached
patch (a darcs patch).
<BDB-4.6.patch>_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel
_______________________________________________
elephant-devel site list
elephant-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/elephant-devel