- MOZILLA, FIREFOX, SEAMONKEY























|
|
How to compile Mozilla Sunbird from source
UPDATE:
If the official Mozilla binary of Sunbird segfaults ("Segmentation Fault") on your Linux machine,
try adding "-calendar" to the command line:
# sunbird -calendar
Useful links from mozilla.org:
http://www.mozilla.org/projects/calendar/sunbird_build.html
http://www.mozilla.org/build/configure-build.html
http://lxr.mozilla.org/mozilla/source/calendar/sunbird/config/mozconfig
1. Get the source for Sunbird and unpack it in a directory (the source will be in the directory "mozilla")
2. cd into mozilla
3. Create a ".mozconfig" file with the following content
. [your-sunbird-source-directory-here]/mozilla/calendar/sunbird/config/mozconfig
mk_add_options MOZ_CO_PROJECT=calendar
ac_add_options --enable-application=calendar
ac_add_options --enable-plaintext-editor-only
ac_add_options --enable-necko-protocols=about,http,ftp,file,jar,res
ac_add_options --enable-storage
ac_add_options --disable-accessibility
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
ac_add_options --disable-installer
ac_add_options --disable-jsd
ac_add_options --disable-mathml
ac_add_options --disable-necko-disk-cache
ac_add_options --disable-oji
ac_add_options --disable-view-source
ac_add_options --disable-logging
ac_add_options --disable-plugins
ac_add_options --disable-cookies
If you want to use GTK2 with XFT, append these lines to .mozconfig:
ac_add_options --disable-freetype2
ac_add_options --enable-default-toolkit=gtk2
ac_add_options --enable-xft
NOTE: If Sunbird segfaults (segmentation fault) at startup, remove the lines again and it should work (at least in my case)
Then configure and build it with:
make -f client.mk build
If make stops at some point look at the error message and if some stuff is missing, install it ;-)
i.e. I had to install these:
apt-get install libgtk1.2-dev
apt-get install libidl-dev
ln -s /usr/bin/libIDL-config-2 /usr/bin/libIDL-config
apt-get install libxt-dev
After compilation is done, you'll find Sunbird in:
dist/bin/sunbird
Last-Modified: Sat, 04 Feb 2006 16:03:00 GMT
|
|