[New-bugs-announce] [issue1162] Python doesn't compile on Microsoft Visual Studio 2008 "Orcas" Beta 2

Swaroop report at bugs.python.org
Thu Sep 13 16:35:43 CEST 2007


New submission from Swaroop:

I followed the README build instructions for VS2005. I opened
pcbuild.sln in PCbuild8 directory and tried building, and I get the
following errors:

<start of errors>


Warning	1	Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release	cl	make_buildinfo
Warning	2	Command line warning D9035 : option 'Wp64' has been deprecated
and will be removed in a future release	cl	make_versioninfo
Warning	3	warning C4005: 'WRITE_RESTRICTED' : macro redefinition
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h	7127
pythoncore
Warning	4	warning C4005: 'WRITE_RESTRICTED' : macro redefinition
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h	7127
pythoncore
Warning	5	warning C4133: 'function' : incompatible types - from
'_typeobject *' to 'PyObject *'
c:\all\code\python-svn\modules\_collectionsmodule.c	1113	pythoncore
Warning	6	warning C4005: 'WRITE_RESTRICTED' : macro redefinition
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h	7127
pythoncore
Warning	7	warning C4018: '>' : signed/unsigned mismatch
c:\all\code\python-svn\modules\mmapmodule.c	693	pythoncore
Warning	8	warning C4018: '>' : signed/unsigned mismatch
c:\all\code\python-svn\modules\mmapmodule.c	834	pythoncore
Error	9	fatal error C1083: Cannot open include file: 'db.h': No such
file or directory	c:\all\code\python-svn\modules\_bsddb.c	90	_bsddb
Warning	10	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	_testcapimodule.obj	_testcapi
Warning	11	warning C4005: 'WRITE_RESTRICTED' : macro redefinition
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h	7127	_socket
Error	12	error C2373: 'inet_pton' : redefinition; different type
modifiers	c:\all\code\python-svn\modules\socketmodule.c	300	_socket
Error	13	error C2373: 'inet_ntop' : redefinition; different type
modifiers	c:\all\code\python-svn\modules\socketmodule.c	301	_socket
Error	14	error C2373: 'inet_pton' : redefinition; different type
modifiers	c:\all\code\python-svn\modules\socketmodule.c	5124	_socket
Error	15	error C2373: 'inet_ntop' : redefinition; different type
modifiers	c:\all\code\python-svn\modules\socketmodule.c	5139	_socket
Warning	16	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	winsound.obj	winsound
Warning	17	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	unicodedata.obj	unicodedata
Error	18	fatal error C1083: Cannot open include file: 'tcl.h': No such
file or directory	c:\all\code\python-svn\modules\_tkinter.c	66	_tkinter
Error	19	fatal error C1083: Cannot open include file: 'tcl.h': No such
file or directory	c:\all\code\python-svn\modules\tkappinit.c	16	_tkinter
Warning	20	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	selectmodule.obj	select
Error	21	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Error	22	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Error	23	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Error	24	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Error	25	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Error	26	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Error	27	fatal error C1083: Cannot open include file: 'sqlite3.h': No
such file or directory
c:\all\code\python-svn\modules\_sqlite\connection.h	33	_sqlite3
Warning	28	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	_msi.obj	_msi
Warning	29	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	_elementtree.obj	_elementtree
Warning	30	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	_ctypes_test.obj	_ctypes_test
Error	31	fatal error C1083: Cannot open include file: 'bzlib.h': No such
file or directory	c:\all\code\python-svn\modules\bz2module.c	12	bz2
Warning	32	warning C4005: 'WRITE_RESTRICTED' : macro redefinition
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h	7127	_ctypes
Warning	33	warning C4005: 'WRITE_RESTRICTED' : macro redefinition
c:\program files\microsoft sdks\windows\v6.0a\include\winnt.h	7127	_ctypes
Warning	34	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	pyexpat.obj	pyexpat
Warning	35	warning LNK4075: ignoring '/EDITANDCONTINUE' due to
'/INCREMENTAL:NO' specification	_ctypes.obj	_ctypes

</end of errors>


Are these solvable problems? Is there something I can do to help?

Thanks!
Swaroop

----------
components: Build
messages: 55891
nosy: swaroopch
severity: normal
status: open
title: Python doesn't compile on Microsoft Visual Studio 2008 "Orcas" Beta 2
versions: Python 3.0

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1162>
__________________________________


More information about the New-bugs-announce mailing list