-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build python-for-android #34
Comments
Hm, do you have a valid compiler? try to install the |
Hi, yes, I have the build-essential package. Ran the following command as recommended on prereq webpage sudo apt-get install build-essential patch git-core ccache cython ant |
Hi, Can someone help with this? I checked and the file is definitely there. Could it be a typo error in the double slash (//arm-linux-androideabi) in the line below? ccache: FATAL: /home/edwardchuajh/python-for-android/android/android-ndk-r7/tool |
I get the same error after the repo update to python 2.7.3 |
I reverted the update to 2.7.3 until further testing, please update. |
solved thanks! |
still same error :( ccache: FATAL: /host/android/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc: execv returned (No such file or directory) |
LittleBigBrain, may I know how you resolved your error? |
Oh i got this one too, i suppose you are on 64 bit ? if so installing ia64-libs and libc6-dev-i386 should help. edit : yes you are, just checked your log, i had the issue just today so i had to search the web to find an answer, and forgot you had the same issue. I'll update the doc. |
Hi, thanks for the response. are you on Ubuntu? I am running 12.04 now, and managed to install libc6-dev-i386 but can't seem to find the package ia64-libs |
doh, i meant ia32-libs sorry and yeah i'm on 12.04 |
thanks! figured that out, installing it now, fingers crossed |
just got my apk onto the phone and it's working great now. thanks! |
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 See
config.log' for more detailsIn 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
The text was updated successfully, but these errors were encountered: