Building python-svn from source
"Martin v. Löwis"
martin at v.loewis.de
Tue Aug 12 01:04:41 EDT 2008
> ./Parser/asdl_c.py -h ./Include ./Parser/Python.asdl
> Must specify exactly one output file
> make: *** [Include/Python-ast.h] Error 1
>
> Am I doing something wrong? If not, how do I work around this error?
For some reason, the getopt module in your host's python cannot process
the command line options to asdl_c.py correctly.
What Python version do you have installed in PATH?
In any case, just touch Include/Python-ast.h and Python/Python-ast.c
before building, to work around this issue.
Regards,
Martin
More information about the Python-list
mailing list