[ python-Bugs-1469548 ] Build requires already built Python

SourceForge.net noreply at sourceforge.net
Thu Apr 13 04:18:57 CEST 2006


Bugs item #1469548, was opened at 2006-04-13 09:54
Message generated for change (Comment added) made by anthonybaxter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1469548&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build
Group: Python 2.5
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Stephan R.A. Deibel (sdeibel)
Assigned to: Nobody/Anonymous (nobody)
Summary: Build requires already built Python

Initial Comment:
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?



----------------------------------------------------------------------

>Comment By: Anthony Baxter (anthonybaxter)
Date: 2006-04-13 12:18

Message:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1469548&group_id=5470


More information about the Python-bugs-list mailing list