build now requires Python exist before the build starts

Discussion in 'Python' started by Toon Knapen, May 16, 2006.

  1. Toon Knapen

    Toon Knapen Guest

    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
     
    Toon Knapen, May 16, 2006
    #1
    1. Advertising

  2. Toon Knapen

    Guest

    Toon Knapen wrote:
    > 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
     
    , May 17, 2006
    #2
    1. Advertising

  3. Toon Knapen

    Toon Knapen Guest

    wrote:
    >
    > 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
     
    Toon Knapen, May 17, 2006
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Y.S.
    Replies:
    3
    Views:
    1,082
    strajan
    Sep 17, 2003
  2. richard
    Replies:
    0
    Views:
    283
    richard
    Mar 19, 2006
  3. Replies:
    8
    Views:
    340
  4. =?Utf-8?B?Z2VvZ3J1dmVu?=

    1.1 to 2.0 migration now requires TCP/IP port in ConnStr

    =?Utf-8?B?Z2VvZ3J1dmVu?=, Oct 24, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    376
    =?Utf-8?B?Z2VvZ3J1dmVu?=
    Oct 24, 2007
  5. Rene Grothmann
    Replies:
    11
    Views:
    1,029
Loading...

Share This Page