Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows build instructions are very inaccurate #70646

Closed
fijall mannequin opened this issue Feb 29, 2016 · 4 comments
Closed

Windows build instructions are very inaccurate #70646

fijall mannequin opened this issue Feb 29, 2016 · 4 comments
Labels
docs Documentation in the Doc dir OS-windows

Comments

@fijall
Copy link
Mannequin

fijall mannequin commented Feb 29, 2016

BPO 26459
Nosy @terryjreedy, @pfmoore, @tjguk, @zware, @zooba

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2016-02-29.14:32:02.424>
labels = ['OS-windows', 'docs']
title = 'Windows build instructions are very inaccurate'
updated_at = <Date 2016-03-04.20:09:50.299>
user = 'https://bugs.python.org/fijall'

bugs.python.org fields:

activity = <Date 2016-03-04.20:09:50.299>
actor = 'terry.reedy'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'Windows']
creation = <Date 2016-02-29.14:32:02.424>
creator = 'fijall'
dependencies = []
files = []
hgrepos = []
issue_num = 26459
keywords = []
message_count = 3.0
messages = ['261009', '261011', '261196']
nosy_count = 7.0
nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'docs@python', 'fijall', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue26459'
versions = ['Python 3.6']

@fijall
Copy link
Mannequin Author

fijall mannequin commented Feb 29, 2016

I've tried following the dev guide (still not successful) to compile a debug version of cpython 2.7 and a couple issues that I run into:

  • The VS2010 vs VS2008 confustion - the docs say "most versions before 3.3 use VS2008" - what does it mean by "most"? The current cpython trunk seems to work only on 2010 (with a variety of fun errors).

  • VS2010 is hard to download, as is 2008 - direct links would help

  • nowhere it's mentioned that you need to run stuff from VS console

  • the readme and the devguide disagree on a few points - readme seems to be better, but also not ideal

  • the docs don't say how to get svn.exe (that is install tortoiseHG, but then select extra tools from somewhere)

  • the build seems to require perl, despite claiming it's not

Other things are misguiding too, but fixing all of the above would be a massive step forward

@fijall fijall mannequin assigned docspython Feb 29, 2016
@fijall fijall mannequin added the docs Documentation in the Doc dir label Feb 29, 2016
@zooba
Copy link
Member

zooba commented Feb 29, 2016

Agreed. The PCBuild/readme.txt file should clear up a few of those points, but the docs aren't exactly beginner friendly (and by that I mean beginning Windows users, not beginning C developers).

We probably need someone to write a dedicated document for building Python 2.7 at this stage. The dev guide should only really be for versions under active development. Unless someone else gets there first, I'll look at making it more approachable.

@terryjreedy
Copy link
Member

I built 2.7.11 on Win10 last Jan 16 with MCS v.1500 32 bit. I believe that is VS2008. Besides TortoiseHG, which I think is great, I downloaded SlikSVN minimal client only. I somewhat arbitrarily picked it from some svn list. http://www.sliksvn.com/en/download. A suggestion, with note that minimal client is enough, would not help. Tested install with 'svn help'. With that installed, pcbuild + appropriate args downloads all external dependencies needed. F7 in VS GUI builds Python binary, no Perl needed. The docs, including readme.TXT, are much better than 3 or 4 years ago. (At the time, there was an undocumented requirement, to run tkinter, to move/copy some tcl/tk files. Zack fixed the build script to make manual step unneeded.) Obviously still needs improvement.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
@zware
Copy link
Member

zware commented Jun 16, 2022

I'm pretty sure all of the mentioned points have been addressed one way or another in the past 6 years; if there are still any other problems, specific issues can be opened.

@zware zware closed this as completed Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir OS-windows
Projects
None yet
Development

No branches or pull requests

4 participants