Cross-compiling error when compiling 2.6.1...

Garrett Cooper yanegomi at gmail.com
Tue Feb 24 16:47:02 EST 2009


On Tue, Feb 24, 2009 at 12:55 PM, Garrett Cooper <yanegomi at gmail.com> 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



More information about the Python-list mailing list