Open GoogleCodeExporter opened 9 years ago
Got a little further...
~/perldroid/tools# perl ./make_core_modules_pkg.pl
~/perl-arm-5.16.0-14/install_me_here/lib/
Can't call method "desiredCompressionLevel" on an undefined value at
/usr/local/share/perl/5.14.2/Archive/Zip/Archive.pm line 249.
=> /home/redstorm/perldroid/tools/target_core_so/__PERL__.zip
Original comment by spencer....@fishtech.co.nz
on 15 Sep 2012 at 2:56
[deleted comment]
Turns out that on the machine i built the package creates a
"arm-linux-androideabi" folder and not the "linux-androideabi-thread-multi"
With changing the path i create the __PERL__.zip containting libperl.so and
perl
so it successfully creates the core zip but not the core modules...
print " => $target_so/__PERL__.zip";
my $zip_so = Archive::Zip->new();
$zip_so->addFile("../bin/perl", "perl") or die;
#$zip_so->addFile("linux-androideabi-thread-multi/CORE/libperl.so",
"libperl.so") or die;
$zip_so->addFile("arm-linux-androideabi/CORE/libperl.so", "libperl.so") or die;
$zip_so->writeToFileNamed("$target_so/__PERL__.zip") == AZ_OK or die "ZIP
$target_so/__PERL__.zip write error";
Original comment by spencer....@fishtech.co.nz
on 15 Sep 2012 at 3:36
At the beginning of the wiki page it is clearly written:
*This page is a bit outdated. It will be updated when some work on this
procedure will be done.*
So, yes, there is a problem with this procedure. I acknowledge here the problem
and I'll have a look at it when I'll have time. If you manage to get it
working, please share and I'll publish the changes in the code (like the one
about "arm-linux-androideabi", which is a change and is not specific to your
environment) and on the wiki.
Thanks.
Original comment by feckmicr...@gmail.com
on 18 Sep 2012 at 8:01
After I've made some changes, (see the attachment), it worked as expected.
Original comment by triz...@gmail.com
on 18 Mar 2013 at 10:03
Attachments:
Original issue reported on code.google.com by
spencer....@fishtech.co.nz
on 15 Sep 2012 at 2:36