This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sharmaag
Recipients sharmaag
Date 2009-12-28.14:25:53
SpamBayes Score 3.6383735e-08
Marked as misclassified No
Message-id <1262010357.46.0.74375888558.issue7587@psf.upfronthosting.co.za>
In-reply-to
Content
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



To fix the missing sqllite code issue, I did the following
1. I created a folder named "sqlite-3.5.9" under "Modules". 
2. I downloaded the code for sqlite-3.5.9 (This code is attached). 
3. I copied the downlaoded code for sqlite-3.5.9 under the following
directory
Desktop\Python-3.1.1\Python-3.1.1\Modules\sqlite-3.5.9
4. From the newly copied files, I copied the "sqlite3.h" file to the
following folder
Desktop\Python-3.1.1\Python-3.1.1\Modules\_sqlite

After this I tried cleaned and build again.

Errors reduced. I got the following errors this time.

Error	1	fatal error C1083: Cannot open source file:
'..\..\sqlite-3.5.9\sqlite3.c': No such file or directory	c1	sqlite3
Error	2	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	3	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	4	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	5	error PRJ0019: A tool returned an error code from "Performing
Pre-Build Event..."	_ssl	_ssl
Error	6	fatal error LNK1181: cannot open input file '.\sqlite3.lib'
_sqlite3	_sqlite3
Error	7	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
History
Date User Action Args
2009-12-28 14:25:57sharmaagsetrecipients: + sharmaag
2009-12-28 14:25:57sharmaagsetmessageid: <1262010357.46.0.74375888558.issue7587@psf.upfronthosting.co.za>
2009-12-28 14:25:55sharmaaglinkissue7587 messages
2009-12-28 14:25:54sharmaagcreate