Cross-compiling error when compiling 2.6.1...

Garrett Cooper yanegomi at
Tue Feb 24 21:55:15 CET 2009

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]: ***
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...


More information about the Python-list mailing list