compiling Python 1.6a2 using VC++ 6.0

falk.lehmann at gmx.net.bbs falk.lehmann at gmx.net.bbs
Tue Jul 18 00:50:03 EDT 2000


I try to compile Python 1.6a2 on a WinNT box using VC++ 6.0.
All packages except bsddbmodule and socketmodule compile without errors.

When I add the include path of the the db-3.1.14 distribution to
..\db-3.1.14\build_win32 the following error messages appear. I have
tried to include other header files then db.h but nothing works.

=================================================================
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(90) : error C2065:
'HASHINFO' : undeclared identifier
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(90) : error C2146: syntax
error : missing ';' before identifier 'info'
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(90) : error C2065: 'info'
: undeclared identifier
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(95) : error C2224: left
of '.bsize' must have struct/union type
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(96) : error C2224: left
of '.ffactor' must have struct/union type
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(97) : error C2224: left
of '.nelem' must have struct/union type
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(98) : error C2224: left
of '.cachesize' must have struct/union type
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(99) : error C2224: left
of '.hash' must have struct/union type
K:\Projects\Python-1.6a2\Modules\bsddbmodule.c(100) : error C2224: left
of '.lorder' must have struct/union
type
...
<and a lot more>
...
==========================================================

Any help is appreciated.

Falk


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list