Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Visual Studio 6 compile of 2.5.2 fails with missing db.h

Reply
Thread Tools

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

 
 
brucoder
Guest
Posts: n/a
 
      05-05-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
 
Reply With Quote
 
 
 
 
brucoder
Guest
Posts: n/a
 
      05-05-2008
On May 5, 11:43*am, brucoder <(E-Mail Removed)> wrote:
> 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...

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


 
Reply With Quote
 
 
 
 
Christian Heimes
Guest
Posts: n/a
 
      05-05-2008
brucoder schrieb:
> 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

 
Reply With Quote
 
brucoder
Guest
Posts: n/a
 
      05-05-2008
On May 5, 1:46*pm, Christian Heimes <(E-Mail Removed)> wrote:
> brucoder schrieb:
>
> > 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


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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Visual Studio 2005 complict with Visual Studio 2003 rockdale ASP .Net 1 08-23-2006 07:20 PM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Is Visual Studio Team System and Visual Studio Foundation Server are same?. Thirumalai ASP .Net 0 05-22-2006 08:48 AM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments