Skip to content
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

Compilation Error #48

Closed
ericmillsio opened this issue Dec 30, 2012 · 1 comment
Closed

Compilation Error #48

ericmillsio opened this issue Dec 30, 2012 · 1 comment

Comments

@ericmillsio
Copy link

I'm trying to install python for android, but it gets caught up at this point and I've tried everything to get around it... Fails on jnius compilation. Anyone have a similar issue?

Leaving ARM enviromnent
Call build_pyjnius
Entering in ARM enviromnent
Compiler found at /opt/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
/home/eric/workspace/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running build_ext
building 'jnius' extension
arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /opt/android-ndk//platforms/android-14/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -mandroid -fomit-frame-pointer --sysroot /opt/android-ndk//platforms/android-14/arch-arm -fPIC -I/home/eric/workspace/python-for-android/build/python-install/include/python2.7 -c jnius/jnius.c -o build/temp.linux-x86_64-2.7/jnius/jnius.o
jnius/jnius.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'arm-linux-androideabi-gcc' failed with exit status 1
find: `cython': No such file or directory
/home/eric/workspace/python-for-android/build/python-install/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
warnings.warn(msg)
running build_ext
building 'jnius' extension
arm-linux-androideabi-gcc -mandroid -fomit-frame-pointer --sysroot /opt/android-ndk//platforms/android-14/arch-arm -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -mandroid -fomit-frame-pointer --sysroot /opt/android-ndk//platforms/android-14/arch-arm -fPIC -I/home/eric/workspace/python-for-android/build/python-install/include/python2.7 -c jnius/jnius.c -o build/temp.linux-x86_64-2.7/jnius/jnius.o
jnius/jnius.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
error: command 'arm-linux-androideabi-gcc' failed with exit status 1

@ericmillsio
Copy link
Author

I am running on arch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant