pmateti / asef

Automatically exported from code.google.com/p/asef
0 stars 0 forks source link

Perl dependency for compilation #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sorry, to post this one on this space.

I tried compiling ASEF on both Mac & Linux. Perl5 installed in Linux(debian) 
but seems I need list of PERL dependency files.

Error:

root@lime:/home/lime/android-sdk-linux/ASEF_OSP# ./apkeval.pl -d
Can't locate URI/Encode.pm in @INC (@INC contains: /etc/perl 
/usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 
/usr/local/lib/site_perl .) at ./apkeval.pl line 7.
BEGIN failed--compilation aborted at ./apkeval.pl line 7.
root@lime:/home/lime/android-sdk-linux/ASEF_OSP# 

Original issue reported on code.google.com by ashwin.k...@gmail.com on 25 Sep 2012 at 8:53

GoogleCodeExporter commented 8 years ago
I'm facing the same problem but with URI/Find.pm. I have installed that pearl 
module on my Ubuntu but I can't seem to figure out why the problem is occurring.

Original comment by harika.g...@gmail.com on 1 Dec 2012 at 8:00

GoogleCodeExporter commented 8 years ago
Just figured out, I ignored the warning to install some local::lib when 
installing the pearl modules. When I installed the local::lib as suggested, the 
error no longer occurred. However I'm facing a new problem now, when running 
the adb server after launching the default virtual device I'm getting the error 
   ./adb: 1:  ./adb: Syntax Error: ")" unexpected 

Original comment by harika.g...@gmail.com on 1 Dec 2012 at 8:34

GoogleCodeExporter commented 8 years ago
I have the same problem with that line...
Any Ideas??

Original comment by vijam...@gmail.com on 20 Feb 2013 at 12:50

GoogleCodeExporter commented 8 years ago
Try to apply this patch : http://asef.googlecode.com/files/ASEF_OSP_patch1.txt

It should resolve your ./adb issue.

Basically it will tell ASEF to look for the binaries located on your local 
machine inside Android SDK Utilities rather than the ones which were bundled 
with ASEF.

Original comment by parth.ph...@gmail.com on 10 May 2013 at 6:38

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
those dependencies will get solved by using CPAN libs from the net. This is
what Parth suggested me earlier and it worked.
I tried to download each file for the corresponding dependency putting it
together under same path of the machine where ASEF is.
It worked this way.

Original comment by ashwin.k...@gmail.com on 11 Oct 2013 at 11:24

GoogleCodeExporter commented 8 years ago
How to apply patch..can anyone please give the procedure to apply patch ......

Original comment by sampath....@gmail.com on 27 Feb 2014 at 5:22

GoogleCodeExporter commented 8 years ago
how can i apply the patch? I have an erron that say can not execute binary file 
how can i fix it

Original comment by manuelju...@gmail.com on 10 Dec 2014 at 2:26

GoogleCodeExporter commented 8 years ago
I also don't know how to use the patch,but I do what Project Member say
"Rather than using stand alone utilities 'adb' and 'aapt' bundled in ASEF, 
please change the path to point to the binaries inside Android SDK within 
platform-tools.

instead of ./adb -> ../platform-tools/adb
instead of ./aapt -> ../platform-tools/aapt

Scripts that may require this change :-

apkeval.pl
execadblogcat.sh    
execdmesg.sh        
execdumpsys.sh      
execps.sh"

yeah,just change the path of adb and aapt in the above 5 scripts.It's work for 
error 
   ./adb: 1:  ./adb: Syntax Error: ")" unexpected 
PS:My OS is ubuntu14.10,maybe the patch just a reminder to tell you where need 
to be changed.

Original comment by xiao17...@gmail.com on 22 Jul 2015 at 2:50