Mailing List Archive

[issue1031] py3k: compilation with VC2005
New submission from Amaury Forgeot d'Arc:

This patch is necessary to compile inside the PCBuild8 directory

----------
components: Windows
files: vc2005.diff
messages: 55315
nosy: amaury.forgeotdarc
severity: normal
status: open
title: py3k: compilation with VC2005
type: compile error
versions: Python 3.0

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
[issue1031] py3k: compilation with VC2005 [ In reply to ]
New submission from Amaury Forgeot d'Arc:

This patch is necessary to compile inside the PCBuild8 directory

----------
components: Windows
files: vc2005.diff
messages: 55315
nosy: amaury.forgeotdarc
severity: normal
status: open
title: py3k: compilation with VC2005
type: compile error
versions: Python 3.0

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
[issue1031] py3k: compilation with VC2005 [ In reply to ]
Neal Norwitz added the comment:

Thanks for the patch. I tried to apply this patch, but almost
everything failed. Could you make sure to do a svn update and then
generate the patch?

The only part of the patch that applied cleanly was to rmpyc.py. That
was checked in as:
Committed revision 57527.

----------
nosy: +nnorwitz

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1031] py3k: compilation with VC2005 [ In reply to ]
Amaury Forgeot d'Arc added the comment:

Sorry, it's probably because I somehow converted the line endings.
Attached a new version of the patch.

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
[issue1031] py3k: compilation with VC2005 [ In reply to ]
Neal Norwitz added the comment:

Hmmm, the patch was out of date (I had already removed cPickle).
However, I don't think that was the reason for everything failing. I
manually applied the changes to the files and python version. Things
should be pretty good now. I didn't add the libraries. I'm not sure
why they are needed now while they weren't necessary before.

Committed revision 57529.

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1031] py3k: compilation with VC2005 [ In reply to ]
Neal Norwitz added the comment:

I thought it might be line endings so I tried changing them, but that
didn't help. I couldn't apply the new version of the patch either. I'm
not sure if the problem is on your side or mine. :-(

I missed some files from the original checkin. The new one hopefully
has all the files and is just missing the libraries. Can you svn update
and look at the new differences? Thanks.

Committed revision 57530.

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1031] py3k: compilation with VC2005 [ In reply to ]
Amaury Forgeot d'Arc added the comment:

Yes, everything compiles now.
I discovered that the additional libraries not necessary if I update my
VC 2005 Express installation as in this post:
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=133236&SiteID=1

> The problem is that the default installation of VS 8 express
> doesn't support the Platform SDK, so, after installing the
> platform SDK, you need to make a few modifications...
>
> 1. Update the corewin_express.vsprops file (NOT the
> corewin.vsprops file).
(In the c:/Program Files/Microsoft Visual Studio 8/VC/VCProjectDefaults/
directory)
> You need to change this...
>
> AdditionalDependencies="kernel32.lib"
>
> to this
>
> AdditionalDependencies="kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib"
>

And everything compiles fine without further modification. Thanks!

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
[issue1031] py3k: compilation with VC2005 [ In reply to ]
Neal Norwitz added the comment:

Awesome! I'm going to close this patch. Let me know if you have any
more problems. Feel free to send messages to python-3000. I would like
py3k to build on Windows for the alpha which will be coming out in about
a week hopefully.

----------
assignee: -> nnorwitz
resolution: -> fixed
status: open -> closed

__________________________________
Tracker <report@bugs.python.org>
<http://bugs.python.org/issue1031>
__________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com