[New-bugs-announce] Python doesn't compile on MS VS2008

Sharma, Anurag Anurag.Sharma at amd.com
Mon Dec 28 15:23:06 CET 2009


Hi

 

I downloaded the source for Python-3.1.1 for windows x86. I followed the
instructions in the PCbuild\Readme.txt file to build python

 

Basically, all I did was

1.       Open the "PCbuild\pcbuild.sln" in VS2008.

2.       Select the "Win32" as Solution Platform and "Release" as
Solution Configuration

3.       Build Solution (F6)

 

I got the following error messages

Error      1              fatal error C1083: Cannot open source file:
'..\..\sqlite-3.5.9\sqlite3.c': No such file or directory   c1
sqlite3

Error      11           fatal error C1083: Cannot open include file:
'bzlib.h': No such file or directory
Desktop\Python-3.1.1__\Python-3.1.1\Modules\bz2module.c     12
bz2

Error      12           fatal error C1083: Cannot open include file:
'tcl.h': No such file or directory
Desktop\Python-3.1.1__\Python-3.1.1\Modules\_tkinter.c           66
_tkinter

Error      13           fatal error C1083: Cannot open include file:
'tcl.h': No such file or directory
Desktop\Python-3.1.1__\Python-3.1.1\Modules\tkappinit.c          16
_tkinter

Error      14           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      15           error PRJ0019: A tool returned an error code
from "Performing Pre-Build Event..."           _ssl        _ssl

Error      16           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      17           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      18           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      19           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      20           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      21           fatal error C1083: Cannot open include file:
'sqlite3.h': No such file or directory
desktop\python-3.1.1__\python-3.1.1\modules\_sqlite\connection.h     33
_sqlite3

Error      23           error PRJ0019: A tool returned an error code
from "Performing Pre-Build Event..."           _hashlib
_hashlib

 

 

 

Can someone help me fix these errors.

 

Thanks in advance

 

 

Thanks

Anurag 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/new-bugs-announce/attachments/20091228/a14ce576/attachment-0001.html>


More information about the New-bugs-announce mailing list