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.

classification
Title: Build requires already built Python
Type: Stage:
Components: Build Versions: Python 2.5
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: Nosy List: anthonybaxter, sdeibel
Priority: normal Keywords:

Created on 2006-04-12 23:54 by sdeibel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg28210 - (view) Author: Stephan R.A. Deibel (sdeibel) Date: 2006-04-12 23:54
On RedHat 7.1 I ran into the following interesting
build bug:

$ ./configure
(works fine)
$ make
./Parser/asdl_c.py -h ./Include -c ./Python
./Parser/Python.asdl
  File "./Parser.asdl_c.py", line 56
    j += 2 # account or the brase and space after it
       ^
SyntaxError: invalid syntax

This is because Python 1.5.2 is the default there --
OK, no problem working around that 'cause I've got
other versions there but it seems mighty strange that
the very first thing done in a build of Python requires
an already-built Python.  What happens on an OS where
Python isn't there yet at all?

msg28211 - (view) Author: Anthony Baxter (anthonybaxter) (Python triager) Date: 2006-04-13 02:18
Logged In: YES 
user_id=29957

This is a packaging bug. You can workaround it with 'touch
Python/Python-ast.c Python/Python-ast.h' before running make.
History
Date User Action Args
2022-04-11 14:56:16adminsetgithub: 43195
2006-04-12 23:54:18sdeibelcreate