2011-12-02 48 views
1

當我使用Fedora 16編譯android 2.3.4時,出現android編譯錯誤(編譯android 2.2。 1在同一臺機器上完美的作品)android build errer:BEGIN失敗 - 在外部/ webkit/WebCore/dom/make_names.pl行編譯異常38行

錯誤信息:

(..) 
Install: out/target/product/generic/system/lib/libttspico.so 
Install: out/target/product/generic/system/lib/libttssynthproxy.so 
target Generated: libwebcore <= external/webkit/WebCore/dom/make_names.pl 
Can't locate Switch.pm in @INC (@INC contains: external/webkit/WebCore/bindings/scripts /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at external/webkit/WebCore/dom/make_names.pl line 38. 
BEGIN failed--compilation aborted at external/webkit/WebCore/dom/make_names.pl line 38. 
make: *** [out/target/product/generic/obj/STATIC_LIBRARIES/libwebcore_intermediates/WebCore/HTMLNames.h] Fehler 2 

這裏有什麼問題?

謝謝

回答

1

這是一個有關Perl的問題。包Switch.pm不再存在於Fedora 16 Perl版本中。你需要安裝這個軟件包。

+0

感謝。我已經將perl降級到releasever 15,並且一切都重新開始:-) – sbo

3

如果你在Fedora 16樓,你將需要通過yum添加Switch.pm

yum install perl-Switch 
+0

謝謝。爲什麼當前的perl中不包含switch? – sbo