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

B

brucoder

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
 
B

brucoder

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).

I've just stepped back to 2.3.7 and receive the same error when
compiling bsddb...
 
C

Christian Heimes

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

The tar.gz doesn't contain the dependencies like the bsddb files or
sqlite3, bzip2 and more. You have to download and unpack the correct
versions into the correct folder. Please read PCbuild/readme.txt

Christian
 
B

brucoder

The tar.gz doesn't contain the dependencies like the bsddb files or
sqlite3, bzip2 and more. You have to download and unpack the correct
versions into the correct folder. Please read PCbuild/readme.txt

I had read that, but I misunderstood that not all components must be
built. Since I don't need that functionality, I now see that I can
simply exclude it from my lib and exe builds.

Thanks,
Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top