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

Parser/asdl_c.py requires python in order to build python #48120

Closed
gpshead opened this issue Sep 14, 2008 · 3 comments
Closed

Parser/asdl_c.py requires python in order to build python #48120

gpshead opened this issue Sep 14, 2008 · 3 comments
Labels
build The build process and cross-build

Comments

@gpshead
Copy link
Member

gpshead commented Sep 14, 2008

BPO 3870
Nosy @theller, @gpshead, @benjaminp

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 = <Date 2008-09-14.23:20:18.596>
created_at = <Date 2008-09-14.22:51:32.146>
labels = ['build', 'invalid']
title = 'Parser/asdl_c.py requires python in order to build python'
updated_at = <Date 2008-09-17.18:44:58.690>
user = 'https://github.com/gpshead'

bugs.python.org fields:

activity = <Date 2008-09-17.18:44:58.690>
actor = 'theller'
assignee = 'none'
closed = True
closed_date = <Date 2008-09-14.23:20:18.596>
closer = 'benjamin.peterson'
components = ['Build']
creation = <Date 2008-09-14.22:51:32.146>
creator = 'gregory.p.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 3870
keywords = []
message_count = 3.0
messages = ['73238', '73240', '73340']
nosy_count = 3.0
nosy_names = ['theller', 'gregory.p.smith', 'benjamin.peterson']
pr_nums = []
priority = 'normal'
resolution = 'not a bug'
stage = None
status = 'closed'
superseder = None
type = 'compile error'
url = 'https://bugs.python.org/issue3870'
versions = ['Python 2.6', 'Python 2.5', 'Python 3.0']

@gpshead
Copy link
Member Author

gpshead commented Sep 14, 2008

Parser/asdl_c.py starts with "#! /usr/bin/env python" and is required
when building python. The prevents python from being built on systems
without an existing python interpreter installed. Which came first, the
python or the egg?

found when attempting to build python from subversion on FreeBSD 6.3.

This is what make trys to run that fails:

./Parser/asdl_c.py -h ./Include Parser/Python.asdl

@gpshead gpshead added build The build process and cross-build labels Sep 14, 2008
@gpshead gpshead changed the title Parser/adsl_c.py requires python in order to build python Parser/asdl_c.py requires python in order to build python Sep 14, 2008
@benjaminp
Copy link
Contributor

Yes, that's why what it builds is included in the svn repo by default.
You can avoid the build problems by touching Include/Python-ast.h and
Python/Python-ast.c.

@theller
Copy link

theller commented Sep 17, 2008

I think it would be a good idea to change the Makefile so that it
touches these files when no python interpreter is available.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build The build process and cross-build
Projects
None yet
Development

No branches or pull requests

3 participants