I built Firefox-2.0 localized from source, now I'm trying to do the
same with Thunderbird-2.01a.
I created manually the .mozconfig file, that looks this way (similar to
the one created for Firefox):
. $topsrcdir/mail/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@
ac_cv_visibility_pragma=no
ac_add_options --prefix=/usr
ac_add_options --with-system-nss
ac_add_options --with-system-nspr
ac_add_options --with-system-zlib
ac_add_options --with-system-png
ac_add_options --with-system-jpeg
ac_add_options --enable-system-cairo
ac_add_options --enable-canvas
ac_add_options --enable-svg
ac_add_options --enable-strip
ac_add_options --disable-tests
ac_add_options --disable-accessibility
ac_add_options --disable-installer
ac_add_options --enable-official-branding
ac_add_options --enable-ldap
ac_add_options --enable-pango
ac_add_options --enable-ui-locale=it
mk_add_options MOZ_CO_LOCALES=it
I then passed "make -f client.mk checkout build", it breaks with this
error:
updating: content/help/contextHelp.js (stored 0%)
+++ making chrome /usr/src/mozilla/obj-i686-pc-linux-gnu/mail/base =>
../../dist/bin/chrome/toolkit.jar
+++ overriding content/global/customizeToolbar.xul
content/global/customizeToolbar.js
content/communicator/tasksOverlay.xul
content/communicator/utilityOverlay.xul
updating: content/global/customizeToolbar.js (stored 0%)
updating: content/global/customizeToolbar.xul (stored 0%)
updating: content/communicator/tasksOverlay.xul (stored 0%)
updating: content/communicator/utilityOverlay.xul (stored 0%)
make[4]: Leaving directory
`/usr/src/mozilla/obj-i686-pc-linux-gnu/mail/base'
make[4]: Entering directory
`/usr/src/mozilla/obj-i686-pc-linux-gnu/mail/locales'
make[4]: *** No rule to make target
`/usr/src/mozilla/../l10n/it/mail/all-l10n.js', needed by `libs'.
Stop.
make[4]: Leaving directory
`/usr/src/mozilla/obj-i686-pc-linux-gnu/mail/locales'
make[3]: *** [libs] Error 2
make[3]: Leaving directory
`/usr/src/mozilla/obj-i686-pc-linux-gnu/mail'
make[2]: *** [tier_99] Error 2
make[2]: Leaving directory `/usr/src/mozilla/obj-i686-pc-linux-gnu'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/usr/src/mozilla/obj-i686-pc-linux-gnu'
make: *** [build] Error 2
What's the problem and how to solve it?
Thanks in advance,
Luca
I finally managed to compile Thunderbird in "it" locale, anyway now,
after having it installed, when I try to start it, appears this error
box:
XML Interpretation Error: non defined entity
Address: chrome://messenger/content/messenger.xul
Line number: 326, column 16:
<treecol id="tagsCol" persist="hidden ordinal width" flex="1"
hidden="true"
<mail-tagfield id="expandedtagsBox" label="&tagsHdr.label;"
collapsed="true" />
<menu id="threadPaneContext-tags" label="&tagMenu.label;"
accesskey="&tagMenu.accesskey;">
I think it means that these three entities are missing anyway I don't
understand it since I have only manually translated the files from
EN-US to IT.
Luca