On Thu, 23 Jul 2009 13:01:12 -0700
"C. Titus Brown" <[email protected]> wrote:
> The bsddb problem is something I ran into; I had to jump through some
> hoops to get it to compile on 2.3. Ping me if you have trouble and
> I'll track down exactly what I did.
I've had a quick look at the code, _bsddb.so was not built on this
system because the version of bsddb bundled with Python-2.3 doesn't
work with db4 newer than 4.2, and the only version available in this
distro is 4.3.
I've managed to work around the issue using Namshin's solution for
Mac OS X problem with that module, with some slight modifications:
- download the standalone bsddb3 module;
- by default the module provides two modules: if it is imported as
bsddb3 it uses its own shared library ('_pybsddb.so'), if as bsddb it
tries to use the Python-bundled '_bsddb.so'. Since our problems stem
entirely from the latter's absence, this is obviously not what we want
- so we need to modify the code to only have the module use the new
mode. The easiest way of achieving this is to, as Namshin suggested,
replace all occurrences of 'bsddb3' with 'bsddb', then again you can
actually clean up the code a bit to remove legacy mode altogether;
- install the module;
- if it got installed in the directory 'bsddb3', give it a link called
'bsddb' - or the other way around. That way both names will work.
This has made bsddb work with Python-2.3 on that system...
> This second problem is odd and doesn't smell like a 2.3 issue.
...as well as, oddly enough, fixed this problem :-)
> Can I give you an account on lyorn, our Linux server? Then you can
> try running things with our python2.x installs, too. Just let me know
> off-list what username you prefer.
Well, right now I've got all tests passing with all four Python
versions so I guess it't not necessary... Unless you think me
having one will facilitate connecting megatests to the buildbot system.
--
MS
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pygr-dev" 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/pygr-dev?hl=en
-~----------~----~----~----~------~----~------~--~---