build now requires Python exist before the build starts

T

Toon Knapen

I'm trying to build the svn-trunk version of python on a Solaris box.
However I do not have a python installed yet and apparantly the build of
python requires a python to be accessible (as also annotated in the
Makefile generated during the ./configure). How can I solve this situation?

Thanks,

toon
 
N

nnorwitz

Toon said:
I'm trying to build the svn-trunk version of python on a Solaris box.
However I do not have a python installed yet and apparantly the build of
python requires a python to be accessible (as also annotated in the
Makefile generated during the ./configure). How can I solve this situation?

It shouldn't actually be required. I'm assuming the problem is while
trying to run asdlgen.py. The generated files are checked in, but the
timestamps are wrong and the Makefile is trying to be helpful.

Try:
touch Include/Python-ast.h Python/Python-ast.c
make

I believe those are the two files that are generated. If not, try
posting the error message.

HTH,
n
 
T

Toon Knapen

It shouldn't actually be required. I'm assuming the problem is while
trying to run asdlgen.py. The generated files are checked in, but the
timestamps are wrong and the Makefile is trying to be helpful.

Try:
touch Include/Python-ast.h Python/Python-ast.c
make


Thanks, indeed it is a timestamp problem. However I copied the error
message 'build now requires Python exists before the build starts'
directly from the Makefile. It might be instructive that the Makefile
also mentions that this is not strictly necessary and documents that
python is needed if one wants to regenerated Python-ast.[hc].

Thanks a lot,

toon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top