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
$ cd .../takepicture
$ buildozer android debug deploy run
it eventually fails with:
./Modules/zlibmodule.c:8:18: fatal error: zlib.h: No such file or directory
Aparently zlib.h must be installed. This should be done automatically or at least the user should be told how to do it.
Detailed log:
2013-07-06 11:14:57 (3,20 MB/s) - ‘kivy-stable.zip’ saved [14281911/14281911]
configure: WARNING:
By default, distutils will build C++ extension modules with "g++".
If this is not intended, then set CXX on the configure command line.
Parser/parsetok.c: In function ‘parsetok’:
Parser/parsetok.c:134:43: warning: variable ‘handling_with’ set but not used [-Wunused-but-set-variable]
Parser/pgen.c: In function ‘compile_atom’:
Parser/pgen.c:282:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
Python/pyarena.c: In function ‘PyArena_Free’:
Python/pyarena.c:162:9: warning: variable ‘r’ set but not used [-Wunused-but-set-variable]
In file included from Python/thread.c:121:0:
Python/thread_pthread.h: In function ‘PyThread_free_lock’:
Python/thread_pthread.h:285:17: warning: variable ‘error’ set but not used [-Wunused-but-set-variable]
Python/thread_pthread.h: In function ‘PyThread_acquire_lock’:
Python/thread_pthread.h:315:17: warning: variable ‘error’ set but not used [-Wunused-but-set-variable]
Python/thread_pthread.h: In function ‘PyThread_release_lock’:
Python/thread_pthread.h:342:17: warning: variable ‘error’ set but not used [-Wunused-but-set-variable]
./Modules/signalmodule.c: In function ‘trip_signal’:
./Modules/signalmodule.c:180:14: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
./Modules/_collectionsmodule.c: In function ‘deque_clearmethod’:
./Modules/_collectionsmodule.c:707:9: warning: variable ‘rv’ set but not used [-Wunused-but-set-variable]
./Modules/socketmodule.c: In function ‘socket_gethostbyname_ex’:
./Modules/socketmodule.c:3371:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
./Modules/socketmodule.c: In function ‘socket_gethostbyaddr’:
./Modules/socketmodule.c:3447:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable]
./Modules/zlibmodule.c:8:18: fatal error: zlib.h: No such file or directory
compilation terminated.
make: *** [Modules/zlibmodule.o] Error 1
make: *** Waiting for unfinished jobs....
--- end commend failed
- Distribution compiled.
- Build the application
- Copy /home/someone/workspace/kivy/examples/android/takepicture/shadow32.png
- Copy /home/someone/workspace/kivy/examples/android/takepicture/main.py
- Copy /home/someone/workspace/kivy/examples/android/takepicture/takepicture.kv
- Package the application
- Captured version: 0.1
- run '/usr/bin/python2.7 build.py --name TakePicture --version 0.1 --package org.test.takepicture --private /home/someone/workspace/kivy/examples/android/takepicture/.buildozer/android/app --sdk 14 --minsdk 8 --permission CAMERA debug'
--- command failed
-- stdout output
-- stderr output
/usr/bin/python2.7: can't open file 'build.py': [Errno 2] No such file or directory
--- end commend failed
Traceback (most recent call last):
File "/usr/local/bin/buildozer", line 5, in <module>
run()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 439, in run
Buildozer().run_command(sys.argv[1:])
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 368, in run_command
self.target.run_commands(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 45, in run_commands
getattr(self, 'cmd_{0}'.format(command))(args)
File "/usr/local/lib/python2.7/dist-packages/buildozer/target.py", line 57, in cmd_debug
self.buildozer.build()
File "/usr/local/lib/python2.7/dist-packages/buildozer/__init__.py", line 402, in build
self.target.build_package()
File "/usr/local/lib/python2.7/dist-packages/buildozer/targets/android.py", line 347, in build_package
join(self.buildozer.bin_dir, apk))
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/home/someone/workspace/kivy/examples/android/takepicture/.buildozer/android/platform/python-for-android/dist/default/bin/TakePicture-0.1-debug.apk'
The text was updated successfully, but these errors were encountered:
When building kivy's takepicture example using
$ cd .../takepicture $ buildozer android debug deploy run
it eventually fails with:
Aparently
zlib.h
must be installed. This should be done automatically or at least the user should be told how to do it.Detailed log:
The text was updated successfully, but these errors were encountered: