build now requires Python exist before the build starts

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Toon Knapen

    #1

    build now requires Python exist before the build starts

    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
  • nnorwitz@gmail.com

    #2
    Re: build now requires Python exist before the build starts

    Toon Knapen wrote:[color=blue]
    > 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?[/color]

    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

    Comment

    • Toon Knapen

      #3
      Re: build now requires Python exist before the build starts

      nnorwitz@gmail. com wrote:[color=blue]
      >
      > 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
      >[/color]


      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

      Comment

      Working...