dexapier / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Perl interpreter does not bundle unicore/PVA.pl #550

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have installed SL4A r4 and Perl 5.10.1, created this script and attempted to 
run it:

use Android;
my $a = Android->new;
print $a->smsGetMessages(0);

The script fails with message "Can't locate unicore/PVA.pl in @INC".

As the above script consists of nothing more than one API call provided by 
SL4A, this suggests that the Perl interpreter is not shipped with all required 
core modules.

What device(s) are you experiencing the problem on?

HTC Desire GSM (rooted)

What firmware version are you running on the device?

CyanogenMod 7.0.2.1 (Desire)

What steps will reproduce the problem?
1. install SL4A and Perl interpreter
2. create and run script specified above
3. observe error

What is the expected output? What do you see instead?

Error message seen as specified above; some other form of output not involving 
missing Perl modules expected.

What version of the product are you using? On what operating system?

See above.

Please provide any additional information below.

N/A

Original issue reported on code.google.com by alex.peters on 1 Jun 2011 at 4:36

GoogleCodeExporter commented 9 years ago
Others have experienced this problem in different circumstances as evidenced by 
this discussion thread:

https://groups.google.com/d/topic/android-scripting/jCfZe2zpdXE/discussion

One suggested workaround is to manually copy core Perl modules from another 
Perl installation if available, but such an installation is not available to me 
and in any case seems somewhat kludgey.

Original comment by alex.peters on 1 Jun 2011 at 4:40