MozTW 討論區

各項 Mozilla 相關軟體與技術討論
現在的時間是 2025-08-28, 04:46

所有顯示的時間為 UTC + 8 小時





發表新文章 回覆主題  [ 3 篇文章 ] 
發表人 內容
文章發表於 : 2008-06-17, 09:37 
離線

註冊時間: 2006-07-27, 16:20
文章: 2
來自: 中国广东
我在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,請有經驗的指導指導。


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.9) Gecko/2008052906 Firefox/3.0
 個人資料  
引用回覆  
 文章主題 :
文章發表於 : 2008-06-20, 15:33 
離線

註冊時間: 2007-01-23, 12:28
文章: 18
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的分頁顯示碼加進去,也順便改一下優先順序的編碼。


回頂端
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.1)
 個人資料  
引用回覆  
 文章主題 :
文章發表於 : 2008-06-23, 09:52 
離線

註冊時間: 2006-07-27, 16:20
文章: 2
來自: 中国广东
“順便也把Tabbed Message Viewing和Tabbed Email Editing的分頁顯示碼加進去,也順便改一下優先順序的編碼”,你的意思是把代碼中編譯順序修改以下?還有就是“順便也把Tabbed Message Viewing和Tabbed Email Editing的分頁顯示碼加進去”這個如何操作?請說明一下,謝謝


回頂端
Mozilla/5.0 (Windows; U; Windows NT 5.2; zh-CN; rv:1.9) Gecko/2008052906 Firefox/3.0
 個人資料  
引用回覆  
顯示文章 :  排序  
發表新文章 回覆主題  [ 3 篇文章 ] 

所有顯示的時間為 UTC + 8 小時


誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 28 位訪客


不能 在這個版面發表主題
不能 在這個版面回覆主題
不能 在這個版面編輯您的文章
不能 在這個版面刪除您的文章
不能 在這個版面上傳附加檔案

搜尋:
前往 :  
Powered by phpBB® Forum Software © phpBB Group
正體中文語系由 竹貓星球 維護製作
© moztw.org, Mozilla Foundation
MozTW,Mozilla 台灣社群