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
Copy python distribution
./distribute.sh: line 769: /media/RHINO/data/projects/p4a3/build/python-install/bin/python.host: No such file or directory
Copy libs
Copy java files from various libs
cp: cannot stat ‘/media/RHINO/data/projects/p4a3/build/java/*’: No such file or directory
Fill private directory
cp: cannot stat ‘python-install/include/python2.7/pyconfig.h’: No such file or directory
I cannot seem to reproduce it, but I was able to build Flask. I had fiddled with building other things (kivy, for example) and then, in the same p4a clone directory, running distribute again to get it to build Flask. I even moved the run_pymodules_install before the run_prebuild step... that actually makes sense to me, and seemed to work, too. But I'll admit, I do not fully understand distribute.sh yet...
functionrun() {
check_build_deps
run_prepare
run_source_modules
run_get_packages
run_pymodules_install ## my change
run_prebuild
run_build
run_biglink
run_postbuild
run_distribute
info "All done !"
}
The text was updated successfully, but these errors were encountered:
ToddG
changed the title
distribute fails to build with libpymodules.so... no input files
distribute fails to build flask or sqlite3 : Error: libpymodules.so - no input files
Oct 2, 2014
The current master version cannot build anything without at least Kivy. This is intended to be resolved at some point with the bootstrap branch. For now, python-for-android works only with Kivy toolkit.
So you need to do: ./distribute.sh -m "sqlite3 flask kivy". :)
Tito - Thanks! That's great to hear, and I'm trying that now. However, if 'kivy' is required... then why even make it optional? I've spent hours trying to figure out how to package flask... You could just have a check to insure that at least one of the arguments passed in to '-m' is kivy, and if not, tell the user what you just told me.
./distribute.sh -m 'Flask'
http://pastebin.com/spDBqp3M
./distribute.sh -m 'Flask' -C
http://pastebin.com/ErJfVKGs
./distribute.sh -m 'sqlite3'
./distribute.sh -m 'sqlite3' -C
http://pastebin.com/um0WaL5t
http://pastebin.com/yMQj4HQx
Here, the common error is:
Copy python distribution ./distribute.sh: line 769: /media/RHINO/data/projects/p4a3/build/python-install/bin/python.host: No such file or directory Copy libs Copy java files from various libs cp: cannot stat ‘/media/RHINO/data/projects/p4a3/build/java/*’: No such file or directory Fill private directory cp: cannot stat ‘python-install/include/python2.7/pyconfig.h’: No such file or directory
Note, I'm on master:
I cannot seem to reproduce it, but I was able to build Flask. I had fiddled with building other things (kivy, for example) and then, in the same p4a clone directory, running distribute again to get it to build Flask. I even moved the run_pymodules_install before the run_prebuild step... that actually makes sense to me, and seemed to work, too. But I'll admit, I do not fully understand distribute.sh yet...
The text was updated successfully, but these errors were encountered: