[pybsddb] Error message when install Berkeley DB Please help.

Jesus Cea jcea at jcea.es
Fri Apr 26 00:47:39 CEST 2024


On 26/4/24 0:40, Jesus Cea wrote:

> Then copy the .h and both dll's in a directory of your choice and try to 
> install my Python Bindings. They will not work, but I am interested in 
> the result in order to plan next step. You will need to use environment 
> variables "BERKELEYDB_DIR", "BERKELEYDB_INCDIR" and "BERKELEYDB_LIBDIR" 
> to teach my code where to find Oracle Berkeley DB stuff. I am not sure 
> how to deal with this under MS Windows.

There are **ancient** comments in the code that are relevant here:

"""
     # The default build of Oracle Berkeley DB for windows just leaves
     # everything in the build dirs in the db source tree. That means
     # that we either have to hunt around to find it, (which would be
     # even more difficult than the mess above for Unix...) or we make
     # the builder specify everything here. Compounding the problem is
     # version numbers in default path names, and different library
     # names for debug/release or dll/static.
     #
     # So to make things easier, I'm just going to expect that the DB stuff
     # has been moved to the ./db directory. There's an updatedb.bat file to
     # help.
     #
     # You'll need to edit the project file that comes with Oracle 
Berkeley DB
     # so it uses "Multithreaded DLL" and "Debug Multithreaded DLL" 
(/MD and
     # /MDd) settings as appropriate to build .lib file (the db_static
     # project).
"""

Please, compile the Oracle Berkeley DB code as "multithread, non debug" 
and send me a ZIP with the build directory. I am interested in those files.

Then follow instructions in the pasted comments. Let's see what happens.

-- 
Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - https://www.jcea.es/    _/_/    _/_/  _/_/    _/_/  _/_/
Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
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


More information about the pybsddb mailing list