[pybsddb] Problems with setup.dbxml.py on Windows with bsddb3-6.0.0

Lauren Foutz lauren.foutz at oracle.com
Fri Jun 21 20:52:21 CEST 2013


I have noticed two problems with the script setup.dbxml.py when 
attempting to build with a beta version of dbxml that includes BDB 6.0.

The first is the line:
assert ver in ('33', '40', '41', '42', '43', '44', '45', '46', '47', 
'48', '50', '51', '52', '53'), (
         "pybsddb untested with this Berkeley DB version", ver)

Does not include the '60' version.  Adding it fixes that part of the 
program, but latter the following error occurs:

building 'bsddb3._pybsddb' extension
Traceback (most recent call last):
   File "setup.dbxml.py", line 428, in <module>
     'Topic :: System :: Clustering',
   File "C:\Python27\lib\distutils\core.py", line 152, in setup
     dist.run_commands()
   File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
     self.run_command(cmd)
   File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
     cmd_obj.run()
   File "C:\Python27\lib\distutils\command\build.py", line 127, in run
     self.run_command(cmd_name)
   File "C:\Python27\lib\distutils\cmd.py", line 326, in run_command
     self.distribution.run_command(command)
   File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
     cmd_obj.run()
   File "C:\Python27\lib\site-packages\setuptools\command\build_ext.py", 
line 46, in run
     _build_ext.run(self)
   File "C:\Python27\lib\distutils\command\build_ext.py", line 340, in run
     self.build_extensions()
   File "C:\Python27\lib\distutils\command\build_ext.py", line 449, in 
build_extensions
     self.build_extension(ext)
   File "C:\Python27\lib\site-packages\setuptools\command\build_ext.py", 
line 182, in build_extension
     _build_ext.build_extension(self,ext)
   File "C:\Python27\lib\distutils\command\build_ext.py", line 499, in 
build_extension
     depends=ext.depends)
   File "C:\Python27\lib\distutils\msvc9compiler.py", line 473, in compile
     self.initialize()
   File "C:\Python27\lib\distutils\msvc9compiler.py", line 383, in 
initialize
     vc_env = query_vcvarsall(VERSION, plat_spec)
   File "C:\Python27\lib\distutils\msvc9compiler.py", line 299, in 
query_vcvarsal
l
     raise ValueError(str(list(result.keys())))
ValueError: [u'path']

Does anyone know how to fix this second error?

Thanks for your time.

Lauren


More information about the pybsddb mailing list