perl – 无法找到Switch.pm

前端之家收集整理的这篇文章主要介绍了perl – 无法找到Switch.pm前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
如何解决这个错误
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

解决方法

在Linux Mint我不得不输入
$ sudo apt-get install libswitch-perl

猜你在找的Perl相关文章