Open GoogleCodeExporter opened 9 years ago
Original comment by damonkoh...@gmail.com
on 2 Jul 2010 at 7:53
Does anyone involved with the Perl interpreter for ASE have experience in
compiling XS modules for Android? I'd be happy to write out the aforementioned
guide for core modules based on an example of any single module. Thanks.
Original comment by danielop...@gmail.com
on 7 Jul 2010 at 9:47
I personally don't, but I intend to speak to the Perl 5 Porters group (those in
charge of maintaining Perl5) and see how this can be achieved.
If successful at that, I'll write a tutorial.
Original comment by xsawy...@gmail.com
on 8 Jul 2010 at 5:00
Thanks for the follow-up. Any updates from the Perl 5 Porters group yet?
Original comment by danielop...@gmail.com
on 17 Jul 2010 at 12:30
Just checking in - any progress yet? Perl is very limited with only non-XS
modules. Thanks!
Original comment by danielop...@gmail.com
on 13 Aug 2010 at 12:53
Sorry for the lack of updates on my behalf.
I have successfully compiled Perl 5.13.3 for arm, but unfortunately not using
clibc. I reckon that's why it didn't work on Android. This means most modules
will come pre-built with Perl already.
Once I get that worked up, I'll write up how to compile XS modules natively.
Original comment by xsawy...@gmail.com
on 13 Aug 2010 at 1:32
Sounds good, many thanks for your efforts - happy to test anything or assist
with documentation if helpful.
Original comment by danielop...@gmail.com
on 13 Aug 2010 at 8:36
It's been a while since I checked - has there been any progress on compiling
Perl XS modules, like Compress::Zlib, for Android? Any help on how to do this
would be really appreciated! Thanks.
Original comment by danielop...@gmail.com
on 13 Dec 2010 at 12:56
I have managed to compile perl for android, I can copy it to my emulator and
run it. I'm going to try some modules now.
Original comment by jacode...@gmail.com
on 27 Aug 2011 at 7:34
That's awesome news!
What version? What modules are included? Any XS?
How did you compile? agcc? The Android toolchain? Manually cross-compiling?
PAR? The Staticperl by Marc Lehmann?
Please share.
Original comment by xsawy...@gmail.com
on 27 Aug 2011 at 8:19
Sounds good! It would be great to be able to use standard modules like
Compress::Zlib. PAR would be great too! :-) Thanks for your efforts.
Original comment by danielop...@gmail.com
on 27 Aug 2011 at 9:41
Maybe I should make more noise. I've been working on Perl cross-compiliing for
Android with P5P for several weeks now. I have it as far as compiling 5.15
(blead) with agcc and including all the core modules. I also modified the
installer from sl4a to pull from my webserver so I could install it. It's all
in a branch on github: http://github.com/castaway/perl/tree/x-compile-android .
Now that works I'm tweaking the install code to install/keep a local copy
around with miniperl, so that other modules can be built against it later (see
most recent commits).
Keep meaning to blog about it and failing..
Original comment by schiffbr...@googlemail.com
on 28 Aug 2011 at 7:59
Incredible work!
Mad props! :)
Original comment by xsawy...@gmail.com
on 28 Aug 2011 at 9:09
schiffbr, thanks for updating the list - there's likely a lot more of us who'd
love to have the full Perl distribution functional on Android.
Having the added ability to have SL4A download the Perl interpreter package
from your own server is a great plus too, so developers could include whatever
modules they wanted.
It would be ideal if "Sharing Scripts as APKs" under the Wiki (or a blog) could
detail how to build an APK that calls a Perl package from your own server. That
would really make developing APKs in Perl much more practical. Thanks!
Original comment by danielop...@gmail.com
on 28 Aug 2011 at 12:25
schiffbr, I'd love to assist in this work. Some basic instructions on how to
build it would be a big help though. Care to put down some words?
Original comment by ctoo...@gmail.com
on 30 Jan 2012 at 12:59
Original issue reported on code.google.com by
danielop...@gmail.com
on 2 Jul 2010 at 7:33