Programming/android
Can't locate Switch.pm
bluelimn
2014. 9. 29. 19:16
Can't locate Switch.pm in @INC (you may need to install the Switch
module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2
/usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5
/usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at
external/webkit/Source/WebCore/make-hash-tools.pl line 23.
BEGIN failed--compilation aborted at
external/webkit/Source/WebCore/make-hash-tools.pl line 23.
make: * [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/Source/WebCore/html/DocTypeStrings.cpp] Error 2
Solve
$sudo apt-get install libswitch-perl
I have solve this, actually i was using 14.04LTS for android 4.2jellybean source code.
In 14.04LTS have to install the switch module. Below is the procedure to install
1:use below command and configure as automatic
$cpan App::cpanminus
2:install switch
$cpanm Switch
Note:By using these two commands that problem solved in my Ubuntu 14.04LTS....
ref : http://stackoverflow.com/questions/23314652/cant-locate-switch-pm
thank you stackoverflow