You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mktemp works differently on OS X, which I did not know when adding that feature. There was a PR (#344) which fixed usage on OS X, which was previously merged, but I ended up reverting it (#349) because it broke Linux builds. I asked the author of that PR to make it work on both Linux and OS X, but that never happened.
I don't have access to OS X and can't test it, otherwise I'd fix it myself.
I tried the patch from that pull request, but I still get:
Leaving ARM environment
Entering in ARM environment
Compiler found at /Users/markprosser/Library/Android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin//arm-linux-androideabi-gcc
Biglink create /private/tmp/p/python-for-android/build/libs/libpymodules.so library
Biglink arguments:
arm-linux-androideabi-gcc: fatal error: no input files
compilation terminated.
Ubuntu is my primary platform, I can assure you that p4a works there. You must include kivy in the module list when you build your distribution. And that is a different issue than the original issue, which is with the envsave/envrestore functionality.
@kived thanks! I think I'm most of the way there. Getting "Error compiling Cython file" several times now, followed by:
kivy/graphics/vbo.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
#error Do not use this file, it is the result of a failed Cython compilation.
^
error: command 'ccache' failed with exit status 1
If you are using Cython 0.22, then yes. :) This will be the case if you installed via pip, in which case you can run sudo pip install -I Cython==0.21.2 to fix it.
Activity
tito commentedon Jun 1, 2015
@kived ?
kived commentedon Jun 1, 2015
mktempworks differently on OS X, which I did not know when adding that feature. There was a PR (#344) which fixed usage on OS X, which was previously merged, but I ended up reverting it (#349) because it broke Linux builds. I asked the author of that PR to make it work on both Linux and OS X, but that never happened.I don't have access to OS X and can't test it, otherwise I'd fix it myself.
rmprosser commentedon Jun 2, 2015
I tried the patch from that pull request, but I still get:
rmprosser commentedon Jun 2, 2015
Just tried on an Ubuntu machine and I get a very similar error
kived commentedon Jun 2, 2015
Ubuntu is my primary platform, I can assure you that p4a works there. You must include kivy in the module list when you build your distribution. And that is a different issue than the original issue, which is with the envsave/envrestore functionality.
rmprosser commentedon Jun 2, 2015
@kived I was not including kivy. When I change to running:
I'm getting the same error...
kived commentedon Jun 2, 2015
The module list needs to be a single argument:
./distribute.sh -f -m 'openssl kivy'rmprosser commentedon Jun 2, 2015
@kived thanks! I think I'm most of the way there. Getting "Error compiling Cython file" several times now, followed by:
Could it be my cython is a bad version?
kived commentedon Jun 2, 2015
If you are using Cython 0.22, then yes. :) This will be the case if you installed via pip, in which case you can run
sudo pip install -I Cython==0.21.2to fix it.rmprosser commentedon Jun 2, 2015
Thanks! Got it working.