MozTW 討論區 https://forum.moztw.org/ |
|
編譯thunderbird-3.0a1出現的錯誤,求助! https://forum.moztw.org/viewtopic.php?f=9&t=22790 |
第 1 頁 (共 1 頁) |
發表人: | freebendy [ 2008-06-17, 09:37 ] |
文章主題 : | 編譯thunderbird-3.0a1出現的錯誤,求助! |
我在Win2003 server上面編譯Thunderbird3.0a1的源碼,使用的vs2005 team+sp1和mozillabuild1.2,以下是我的.mozconfig文件: . $topsrcdir/mail/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/Ben3 ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --enable-libxul ac_add_options --disable-shared ac_add_options --disable-tests ac_add_options --enable-javaxpcom ac_add_options --disable-vista-sdk-requirements 我的想法是編譯出類似FF3中的文件結構,有單獨的xul.dll庫,讓Thunderbird.exe文件儘量小,因為可能需要使用java來重寫這個exe,另外還需要javaxpcom所有我使用ac_add_options --enable-javaxpcom,由於我無法mdc上面的說明文檔裡面裡面的vista sdk,所以使用了ac_add_options --disable-vista-sdk-requirements。但是編譯過程中出現下面的錯誤: /bin/perl /d/mozilla/config/version_win.pl -QUIET 1 -DEPTH ../../../.. -TOPSRCDIR /d/mozilla -BITS 32 -OBJDIR . -SRCDIR /d/mozilla/xpfe/components/autocomplete/src -DISPNAME Thunderbird -MODNAME appcomps Creating Resource file: module.res rc.exe -r -DMOZILLA_INTERNAL_API -DOSTYPE=\"WINNT5.2\" -DOSARCH=WINNT -I/d/mozilla/xpfe/components/autocomplete/src -I. -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/dom -I../../../../dist/include -I../../../../dist/include/appcomps -I../../../../dist/include/nspr -Fomodule.res /d/mozilla/Ben3/xpfe/components/autocomplete/src/module.rc make[7]: *** No rule to make target `../../../../dist/lib/xpcom.lib', needed by `xpautoc.dll'. Stop. make[7]: Leaving directory `/d/mozilla/Ben3/xpfe/components/autocomplete/src' make[6]: *** [libs] Error 2 make[6]: Leaving directory `/d/mozilla/Ben3/xpfe/components/autocomplete' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/d/mozilla/Ben3/xpfe/components' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/d/mozilla/Ben3/xpfe' make[3]: *** [libs_tier_toolkit] Error 2 make[3]: Leaving directory `/d/mozilla/Ben3' make[2]: *** [tier_toolkit] Error 2 make[2]: Leaving directory `/d/mozilla/Ben3' make[1]: *** [default] Error 2 make[1]: Leaving directory `/d/mozilla/Ben3' make: *** [build] Error 2 請有經驗的幫忙看看。 另外在xulrunner的目錄下有: javaxpcom.jar和javaxpcomglue.dll文件,此外在xulrunner的sdk中還有MozillaGlue.jar,這些文件是怎么編譯產生的,因為想法是要使用java和mozilla進行交互,所以需要javaxpcom,但是想給予ff或者tb來開發而不是xulrunner,請有經驗的指導指導。 |
發表人: | Shun-Ren Hu [ 2008-06-20, 15:33 ] |
文章主題 : | |
freebendy 寫: 我在Win2003 server上面編譯Thunderbird3.0a1的源碼,使用的vs2005 team+sp1和mozillabuild1.2,以下是我的.mozconfig文件:
. $topsrcdir/mail/config/mozconfig mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/Ben3 ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --enable-libxul ac_add_options --disable-shared ac_add_options --disable-tests ac_add_options --enable-javaxpcom ac_add_options --disable-vista-sdk-requirements 我的想法是編譯出類似FF3中的文件結構,有單獨的xul.dll庫,讓Thunderbird.exe文件儘量小,因為可能需要使用java來重寫這個exe,另外還需要javaxpcom所有我使用ac_add_options --enable-javaxpcom,由於我無法mdc上面的說明文檔裡面裡面的vista sdk,所以使用了ac_add_options --disable-vista-sdk-requirements。但是編譯過程中出現下面的錯誤: /bin/perl /d/mozilla/config/version_win.pl -QUIET 1 -DEPTH ../../../.. -TOPSRCDIR /d/mozilla -BITS 32 -OBJDIR . -SRCDIR /d/mozilla/xpfe/components/autocomplete/src -DISPNAME Thunderbird -MODNAME appcomps Creating Resource file: module.res rc.exe -r -DMOZILLA_INTERNAL_API -DOSTYPE="WINNT5.2" -DOSARCH=WINNT -I/d/mozilla/xpfe/components/autocomplete/src -I. -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/dom -I../../../../dist/include -I../../../../dist/include/appcomps -I../../../../dist/include/nspr -Fomodule.res /d/mozilla/Ben3/xpfe/components/autocomplete/src/module.rc make[7]: *** No rule to make target `../../../../dist/lib/xpcom.lib', needed by `xpautoc.dll'. Stop. make[7]: Leaving directory `/d/mozilla/Ben3/xpfe/components/autocomplete/src' make[6]: *** [libs] Error 2 make[6]: Leaving directory `/d/mozilla/Ben3/xpfe/components/autocomplete' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/d/mozilla/Ben3/xpfe/components' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/d/mozilla/Ben3/xpfe' make[3]: *** [libs_tier_toolkit] Error 2 make[3]: Leaving directory `/d/mozilla/Ben3' make[2]: *** [tier_toolkit] Error 2 make[2]: Leaving directory `/d/mozilla/Ben3' make[1]: *** [default] Error 2 make[1]: Leaving directory `/d/mozilla/Ben3' make: *** [build] Error 2 請有經驗的幫忙看看。 另外在xulrunner的目錄下有: javaxpcom.jar和javaxpcomglue.dll文件,此外在xulrunner的sdk中還有MozillaGlue.jar,這些文件是怎么編譯產生的,因為想法是要使用java和mozilla進行交互,所以需要javaxpcom,但是想給予ff或者tb來開發而不是xulrunner,請有經驗的指導指導。 順便也把Tabbed Message Viewing和Tabbed Email Editing的分頁顯示碼加進去,也順便改一下優先順序的編碼。 |
發表人: | freebendy [ 2008-06-23, 09:52 ] |
文章主題 : | |
“順便也把Tabbed Message Viewing和Tabbed Email Editing的分頁顯示碼加進去,也順便改一下優先順序的編碼”,你的意思是把代碼中編譯順序修改以下?還有就是“順便也把Tabbed Message Viewing和Tabbed Email Editing的分頁顯示碼加進去”這個如何操作?請說明一下,謝謝 |
第 1 頁 (共 1 頁) | 所有顯示的時間為 UTC + 8 小時 |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |