Visual Studio 6 compile of 2.5.2 fails with missing db.h

brucoder timj at tolisgroup.com
Mon May 5 13:43:58 EDT 2008


Hi Folks,

Searched the archives, but I can only find mention of db.h problems
relating to Linux.

I've downloaded the source for 2.5.2 and am trying to compile it in
Visual Studio 6 (SP6).  The error reports read:

--------------------Configuration: _bsddb - Win32
Debug--------------------
Compiling...
_bsddb.c
C:\Documents and Settings\Tim\My Documents\Python-2.5.2\Modules
\_bsddb.c(90) : fatal error C1083: Cannot open include file: 'db.h':
No such file or directory
Error executing cl.exe.

_bsddb_d.pyd - 1 error(s), 0 warning(s)

Any pointers?  A prerequisite that I might be missing?  The source is
the Python-2.5.2.tar.gz from the Python.org site.

Thanks for any help,
Tim



More information about the Python-list mailing list