Re: Cross-compiling error when compiling 2.6.1...

Discussion in 'Python' started by Garrett Cooper, Feb 24, 2009.

  1. On Tue, Feb 24, 2009 at 12:55 PM, Garrett Cooper <> wrote:
    > I come across the following error:
    >
    > checking for chflags... configure: error: cannot run test program
    > while cross compiling
    > See `config.log' for more details.
    > make-3.81[1]: ***
    > [/nobackup/garrcoop/python_upgrade/contrib/python/obj-mips32/Makefile]
    > Error 1
    > make-3.81[1]: Leaving directory `/nobackup/garrcoop/python_upgrade'
    > make-3.81: *** [all] Error 2
    >
    > The blurb from configure that does this test says:
    >
    > # On Tru64, chflags seems to be present, but calling it will
    > # exit Python
    >
    > Basically this testcase (while valid for Tru64) doesn't work with many
    > cross-compilation environments. Couldn't test instead be disabled, but
    > the compilation continue with a warning? Erroring out the build seems
    > like a silly decision...
    >
    > Thanks,
    > -Garrett


    I've so far tied this issue down to the chflags, lchflags, and
    printf with %zd support tests. After commenting out those items things
    run to completion.
    -Garrett
    Garrett Cooper, Feb 24, 2009
    #1
    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. Jeremy Schoenhaar

    cross compiling

    Jeremy Schoenhaar, Apr 22, 2004, in forum: C++
    Replies:
    2
    Views:
    296
    Jeremy Schoenhaar
    Apr 23, 2004
  2. Han-Wen Nienhuys

    cross-compiling python: reviewers needed

    Han-Wen Nienhuys, Dec 20, 2006, in forum: Python
    Replies:
    1
    Views:
    331
    David Boddie
    Dec 20, 2006
  3. Oliver Bleckmann
    Replies:
    2
    Views:
    342
    Keith Thompson
    Nov 12, 2006
  4. Garrett Cooper
    Replies:
    0
    Views:
    541
    Garrett Cooper
    Feb 24, 2009
  5. Robert P. J. Day
    Replies:
    0
    Views:
    314
    Robert P. J. Day
    Jul 25, 2011
Loading...

Share This Page