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
'Programming > android' 카테고리의 다른 글
Build Android-P preview3 on angler (1) | 2018.06.18 |
---|---|
source build/envsetup.sh error (0) | 2017.05.29 |
api doc error on Android 4.4.3 (kitkat) (1) | 2017.05.24 |
perl 5.18 switch module error (0) | 2015.03.20 |
android img upload(fastboot) (0) | 2014.09.29 |
android-x86 build 도중 만난 errors (0) | 2014.07.13 |
android Kitkat 을 VMware에 설치해보자 (0) | 2014.07.13 |
format_output.h:94:22: error: reference ‘counts’ cannot be declared ‘mutable’ [-fpermissive] (0) | 2013.12.19 |
linker.cpp error (0) | 2013.12.19 |
Android Version & Source tree (0) | 2013.09.13 |