新发布的 Mavericks 已从其存储库中删除了已弃用的模块“Switch.pm”。但是,我最近尝试构建 AOSP 源代码树,它以某种方式使用此模块生成“make-hash-tools.pl”
Mavericks 的 perl 版本为 5.16.2,其前身 Mountain Lion 的版本为 5.12.4。有没有办法降级我的 Perl?
编译错误如下所示:
Can't locate Switch.pm in @INC (@INC contains: /Library/Perl/5.16/darwin-thread-\
multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level\
/Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2\
/System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16\
/System/Library/Perl/Extras/5.16/darwin-thread-multi-2level \
/System/Library/Perl/Extras/5.16 .) at external/webkit/Source/WebCore\
/make-hash-tools.pl line 23.
谢谢~!