[pybsddb] Windows compilation error?

Jesus Cea jcea at jcea.es
Thu Mar 10 12:34:07 CET 2011


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

Thanks a lot for your effort, hasanyasin.


On 10/03/11 05:36, hasanyasin wrote:
> pybsddb compability. Since we already know that we had compatible
> components, I safely removed lines 321, 322, and 323 from the code as a
> temporary lazy-man solution.
> 
> 315    for line in db_h_lines:
> 316        match = db_ver_re.match(line)
> 317        if not match:
> 318            continue
> 319        fullverstr = match.group(1)
> 320        ver = fullverstr[0] + fullverstr[2]   # 31 == 3.1, 32 == 3.2,
> etc.
> ---    assert (fullverstr[0], fullverstr[2]) in db_ver_list, (
> ---        "pybsddb untested with this Berkeley DB version", ver)
> ---    print 'Detected Berkeley DB version', ver, 'from db.h'

Could you possibly post the value of "fullverstr" at that position?.

> For some other problem, again a dirty and ugly trick: Changing
> runtime_library_dirs parameter's value with None from [ libdir ] as below:
> 
> 385                            runtime_library_dirs = None, #[ libdir ],

I don't mind to do some changes to ease life to Windows colaborators.
But I am a bit surprised, since this code compiles cleanly in python
buildbots.

Can we invest some time trying to determine WHY you need these changes?

For example, I would recomend to not copy "db" inside "bsdddb3" and,
instead, use the "--berkeley-db=", '--berkeley-db-incdir=',
'--berkeley-db-libdir=', command line parameters.

Thanks a lot for your step by step approach. Let's try to determine if
we can ease it a bit more :).

- -- 
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/

iQCVAwUBTXi3L5lgi5GaxT1NAQLFTAP8DJEOwacpXSDzgYLd1esq++wulAt+6z8W
b9ADQ+ia4je9WaVTAkadpm6Rvl9PeD7a9WcE4+Ecqns9ofRjyfn3BsoaINYhZ481
rfYhD7LP/7z8ASFAm1+GynePUirtYU/q1W8kzZweVQs01lv/DV/5kWayeyfw+Sl0
gD7jqENLVAI=
=IwGc
-----END PGP SIGNATURE-----


More information about the pybsddb mailing list