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

Can't build with all modules #27

Closed
anjiro opened this issue Apr 6, 2012 · 4 comments
Closed

Can't build with all modules #27

anjiro opened this issue Apr 6, 2012 · 4 comments

Comments

@anjiro
Copy link

anjiro commented Apr 6, 2012

./distribute.sh -m "android chipmunk ffmpeg hostpython jpeg kivy libxml2 libxslt lxml openssl pil\ png pycrypto pygame pyopenssl pyqrcode python sdl setuptools sqlite3 twisted txws wokkel zope"

eventually yields

./distribute.sh: line 45: /home/dan/android/python-for-android/build/python-install/bin/python.host: No such file or directory

Full build log at http://pastebin.com/a8HmFGjz

@phlax
Copy link

phlax commented Apr 9, 2012

Hi anjiro,

The problem is with the order of the recipes. Because android is before hostpython it is trying to build the python modules before it has built python itself. Also the C libs need need to be build before python.

Try reordering the distribute command to:

./distribute.sh -m "chipmunk libxml2 libxslt ffmpeg jpeg png openssl sqlite3 hostpython python android kivy lxml pil sdl setuptools pycrypto pygame pyopenssl pyqrcode twisted txws wokkel zope"

@anjiro
Copy link
Author

anjiro commented Apr 10, 2012

That works, except that ffmpeg doesn't build. But I'll file a separate bug on that.

It does seem like the build process should have some sort of dependency tree to work no matter what order the options are in, though.

@tito
Copy link
Member

tito commented Apr 12, 2012

Yes, the build process have dependency, and it's hard to get in right in a bash. Prefer to fill an issue on a specific recipe instead :)

@tito tito closed this as completed Apr 12, 2012
lfdversluis added a commit to lfdversluis/python-for-android that referenced this issue May 8, 2014
@lfdversluis
Copy link
Contributor

Woops,got 2 repos mixed up with recipes and stuff. Sorry about this bump!

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

4 participants