Skip to content

Unable to build python-for-android #34

@edwardchuajh

Description

@edwardchuajh

Hi,

After running distribute.sh -m "kivy"

I get the error

Compiler found at /home/edwardchuajh/python-for-android/android/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi-gcc
configure: WARNING: if you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux3
checking EXTRAPLATDIR...
checking machine type as reported by uname -m... x86_64
checking for --without-gcc... no
checking for arm-eabi-gcc... ccache arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /home/edwardchuajh/python-for-android/android/android-ndk-r7/platforms/android-14/arch-arm
checking whether the C compiler works... no
configure: error: in /home/edwardchuajh/python-for-android/build/python/Python-2.7.2': configure: error: C compiler cannot create executables Seeconfig.log' for more details

In config.log I see this:

ccache: FATAL: /home/edwardchuajh/python-for-android/android/android-ndk-r7/tool
chains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin//arm-linux-androideabi
-gcc: execv returned (No such file or directory)

I tried this on Ubuntu 12.04 and 11.10, same results.

Using NDK r7 and SDK API 14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions