develooper Front page | perl.perl5.porters | Postings from September 2013

Re: Question on porting perl 5.16 to Android (no /bin/sh)

Thread Previous | Thread Next
From:
Ben Greear
Date:
September 4, 2013 22:05
Subject:
Re: Question on porting perl 5.16 to Android (no /bin/sh)
Message ID:
5227AE87.9060605@candelatech.com
On 09/04/2013 01:58 PM, Ben Greear wrote:
> On 09/04/2013 01:49 PM, Ben Greear wrote:
>> On 09/04/2013 01:00 PM, Brian Fraser wrote:
>>> On Wed, Sep 4, 2013 at 4:56 PM, Ben Greear <greearb@candelatech.com <mailto:greearb@candelatech.com>> wrote:
>>>
>>>     I tried to condense your original email instructions down to specifics for my machine,
>>>     but I'm having no luck.  I'm using ugmeir's perl repo as you suggested...I did not choose
>>>     any particular branch, I just cloned it from github.
>>>
>>>
>>> I'm Hugmeir, so :)
>>> You want the configure-for-cross branch, not the main one. I think that might be the issue.
>>
>> Ahh, good to know.  And I fixed the spelling in my directory name :)
>>
>> It does a lot more now, but still has some issues.  I'll go poke
>> at the run-adb-shell, I suspect it may be mis-behaving on my system...
>
> Ok, problem was that my /data/data/candela.lanforge/local dir was owned
> by root user and not writable by the 'shell' user.
>
> chmod 777 /data/data/candela.lanforge/local
>
> fixed the problem.
>
> Continuing on....

Ok, now I see this error in the command:

(I skiped 'make test', first try of it seemed to hang,
or maybe it was just going to take a really long time).

make DESTDIR=/tmp/android-perl install

....

make[2]: Leaving directory `/home/greearb/android/perl-cross-hugmeir/x2p'

	Everything is up to date. Type 'make test' to run test suite.
host/miniperl installperl --destdir=/tmp/android-perl
WARNING: You've never run 'make test' or some tests failed! (Installing anyway.)
   ...//perl5.18.0
Use of uninitialized value $dev1 in numeric eq (==) at ./install_lib.pl line 123.
Use of uninitialized value $dev1 in numeric eq (==) at ./install_lib.pl line 123.
   ...//../lib/perl5/5.18.0/linux-androideabi/encoding.pm
   ...//../lib/perl5/5.18.0/subs.pm
   ...//../lib/perl5/5.18.0/vars.pm


...

   ...//../lib/perl5/5.18.0/pod/perltooc.pod
   ...//../lib/perl5/5.18.0/pod/perltoot.pod
   ...//../lib/perl5/5.18.0/pod/a2p.pod
host/miniperl installman --destdir=/tmp/android-perl
Can't load module Encode, dynamic loading not available in this perl.
   (You may need to build a new perl executable which either supports
   dynamic loading or has the Encode module statically linked into it.)
  at lib/Pod/Man.pm line 34.
Compilation failed in require at lib/Pod/Man.pm line 34.
BEGIN failed--compilation aborted at lib/Pod/Man.pm line 34.
Compilation failed in require at installman line 13.
BEGIN failed--compilation aborted at installman line 13.
make[1]: *** [install.man] Error 255
make[1]: Leaving directory `/home/greearb/android/perl-cross-hugmeir'
make: *** [install] Error 2


I imagine I can get by with out this particular feature...is there any
way to selectively disable this so the install can complete?

Thanks,
Ben


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About