There is a buglet in bdist_wininst and --skip-build - note that the filename
created by your process doesn't have "py2.6" included in the filename.  To
fix that, the final command should also include "--target-version=2.6"

 

Cheers,

 

Mark

 

From: Marc-André Belzile [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 31 May 2008 1:03 PM
To: Mark Hammond; Hanni Ali; python-win32@python.org
Subject: RE: [python-win32] building pywin32 on Server 2003 x64

 

Meanwhile, if you're still up to the challenge, here are the steps I used
for building pywin32 for vista 64:

 

1) svn co http://svn.python.org/projects/python/trunk python 
2) compile python 2.6 for x64 from VS2008 IDE or Windows SDK
3) open x64 command-prompt 
4) log as anonymous to pywin32 server: cvs
-d:pserver:[EMAIL PROTECTED]:/cvsroot/pywin32 login 
5) download latest pywin32 source: cvs -z3
-d:pserver:[EMAIL PROTECTED]:/cvsroot/pywin32 co -P
pywin32 
6) c:\dev\pywin32>\build ..\python2.6\python\PCbuild\python.exe setup.py
build --plat-name=win-amd64 
7) c:\dev\pywin32>\build ..\python2.6\python\PCbuild\python.exe setup.py
bdist_wininst --skip-build 


The pywin32 install package should be generated here
c:\dev\pywin32>\build\dist\pywin32-210.9.win32.exe

 

Hope that helps

 

-mab

 

 

  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mark Hammond
Sent: May-30-08 6:38 PM
To: 'Hanni Ali'; python-win32@python.org
Subject: Re: [python-win32] building pywin32 on Server 2003 x64

pywin32 builds on a 64bit environment, but you need the SVN trunk of Python,
the CVS trunk of pywin32, and VS2008.  VS2005 support isn't *that*
interesting to me as there are no Python binaries available built with that
compiler and I can't get VS.NET to build with the most recent Vista SDK,
which is needed for recent pywin32 functionality.  A Python 2.6 amd64 build
will be included in the next release.

 

Cheers,

 

Mark

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hanni Ali
Sent: Friday, 30 May 2008 11:00 PM
To: python-win32@python.org
Subject: [python-win32] building pywin32 on Server 2003 x64

 

Hi All,

 

I am attempting to build pywin32 for a 64 bit deployment.

 

It is necessary for us to use 64 bit python due to objects within our
application exceeding 2GB in size.

 

I am attempting to do so using msvc 2005 which I know is not ideal, but I
have managed to build the other dependencies (Python, numpy), my attention
is now on pywin32.

 

Firstly although I have managed to get it compiling, I was not able to use
the instruction:

 

setup.py build --plat-name=win-amd64

 

The setup script reported plat-name as not existing.

 

Secondly is anyone building pywin32 on 64 bit machines?

 

Although I seem to have hacked it suficiently to get it to compile linking
fails with errors of this manner:

 

MSVCRT.lib(gs_support.obj) : error LNK2019: unresolved external symbol
__imp_Get
CurrentThreadId referenced in function __security_init_cookie

 

I appreciate any help anyone can give.

 

Thanks

 

Hanni

_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to