[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2016-04-25 Thread Stefan Krah
Stefan Krah added the comment: Thank you, closing this. -- resolution: -> out of date stage: -> resolved status: open -> closed versions: +Python 3.6 -Python 3.4 ___ Python tracker

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2016-04-25 Thread Xavier de Gaye
Xavier de Gaye added the comment: This error: _curses.error: setupterm: could not find terminfo database does not occur for me after removing the '--disable-database --disable-home-terminfo' options from the configure options used to cross-compile ncurses, and after setting the TERMINFO

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2016-03-20 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: curses was broken and now it's fixed. Yes - Android's locale patch is no longer necessary in _curses either. However, there are runtime errors: shell@ASUS_Z00E_2:/data/local/tmp $ python3.6 -c 'import curses; curses.initscr()'

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2016-03-20 Thread Stefan Krah
Stefan Krah added the comment: Thank you, this is excellent! Does that mean that all locale patches are no longer needed? Here is one left (perhaps accidentally): https://github.com/yan12125/python3-android/blob/cpython-hg/mk/ncurses/android-locale-fixes.patch --

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2016-03-20 Thread Chi Hsuan Yen
Chi Hsuan Yen added the comment: Android NDK provides an "android-support" package [1]. There is no documentation other than README in its git repository, I guess it's a 'compatibility layer' between applications targetting a complete C library and Android's BioniC. With my patchset [2],

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2015-02-28 Thread Stefan Krah
Stefan Krah added the comment: Consider the libmpdec part rejected. It is too much work given that external libmpdecs need to be compatible and Android can use the Python version of decimal. -- nosy: +skrah ___ Python tracker rep...@bugs.python.org

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-10-14 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: -skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20305 ___ ___ Python-bugs-list

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-04-28 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +lizhenhua ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20305 ___ ___

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-21 Thread Stefan Krah
Stefan Krah added the comment: I've been looking into this, and the only option provided by the Android NDK involves cross-compiling Python on a regular machine. This would require some custom commands before and in between the builds, to build a host Python first, then cross-compile the

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-21 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've been looking into this, and the only option provided by the Android NDK involves cross-compiling Python on a regular machine. This would require some custom commands before and in between the builds, to build a host Python first, then cross-compile the

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-20 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo, skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20305 ___ ___ Python-bugs-list

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-20 Thread Stefan Krah
Stefan Krah added the comment: I agree with Marc-Andre. Also, we should have an Android buildbot. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20305 ___

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-20 Thread STINNER Victor
STINNER Victor added the comment: Is there the only patch required to compile Python 3.4 on Android? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20305 ___

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-20 Thread Shiz
Shiz added the comment: I managed to cross-compile Python 3.3.3 for arm-linux-androideabi (using the Android NDK r9c) with the patches in this issue, issue 20306 and issue 20307. It did require a small additional patch which addressed the fact that the host system can't run the generated

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-20 Thread Stefan Krah
Stefan Krah added the comment: Shiz rep...@bugs.python.org wrote: As far as maintaining an Android port for CPython goes; I may be interested in this as I'd need to regularly use it anyway. Can anyone tell me what the possibilities are here? There seem to be some external ports already. --

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-20 Thread Shiz
Shiz added the comment: c) Many (or all) core committers did not have access to the platform in question. I'd say Android is quite a common platform these days, although I'd concur that it's not particularly easy to run Python OOTB on. :) Wikipedia claims that QEMU also powers the

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-19 Thread Shiz
Changes by Shiz h...@shiz.me: -- title: Android's incomplete locale.h implementation prevents compilation - Android's incomplete locale.h implementation prevents cross-compilation ___ Python tracker rep...@bugs.python.org

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-19 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +lemburg, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20305 ___ ___

[issue20305] Android's incomplete locale.h implementation prevents cross-compilation

2014-01-19 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: I'd be +1 on such a patch if we were to officially support Android, but we'd need a volunteer to champion for this (which would be a good thing, IMO). Otherwise, such changes need to be maintained externally. --