[pybsddb] How to install bsdbb?

Jesus Cea jcea at jcea.es
Tue Oct 26 16:00:28 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/10/10 21:53, alanpae at ilkda.com wrote:
> So I grabbed Python 2.7 and compiled it up.  configure said that bsdbb
> support would not be compiled in but I installed it anyways.  That's
> when I learned that socket support wasn't working.  I have no idea how
> to fix either.

Stock python bsddb is not compiled against Berkeley DB 5.x because that
BDB library is newer that the python module.

The right approach would be to install bsddb3 (pybsddb 5.0.0 can be
compiled against 5.1.19 library with a cpmmand line argument, like you
do) and then write the three lines import trick already described in a
previous message.

If you have problems with socket support, your python is defective.

- -- 
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQCVAwUBTMbe/Jlgi5GaxT1NAQK/XwP9HaeHk8qVMna7NUrCsnWfn2IgKQ4ong+A
X54VnvUlzggidubAp2jAcFyWJbrOfKap+Ey5hFzZhL60tK+IBTeR7tBGGXZ/6xCh
5antRR+eMQwrnIcOpEU2AB1ae44jxrfgbXKZm2W3sCiv/u9hBAYHDJzedn0ctgcy
o+Qsws1xZSw=
=bqCt
-----END PGP SIGNATURE-----


More information about the pybsddb mailing list