星期四, 4月 27, 2006

Mozilla Linux Build Prerequisites

Mozilla Linux Build Prerequisites

Build Tools

A recent POSIX Shell
A C++ compiler.
GCC 3.2 or higher is recommended, or your platform's native C/C++ compiler.
Perl 5.6 or higher Older perl versions may work if you upgrade File::Spec to version 0.8
GNU make 3.79.1 or higher. Other varieties of "make" will not work.
CVS 1.11 or higher
A widget toolkit.
GTK2 is the "standard" toolkit, and GTK (1.2.0 or higher) is also well-tested. QT and plain xlib configure options are available, but they not well tested or supported.
libIDL 0.6.3 or higher Source snapshots are available from Mozilla via
ftp. If using the RPMs, you'll need both the regular rpm and the -devel rpm. If you already have ORBit installed, then you do not need to install libIDL as ORBit bundles libIDL. You may need to install the ORBit-devel package if you use packages.
zip 2.3 (or higher)
freetype 2.1.0 (or higher)
fontconfig
pkgconfig 0.9.0 (or higher)

Choose an Application

Mozilla的source code可以依照不同的設定, 編譯成下列不同的軟體產品版本:

Mozilla Suite (SeaMonkey)

Specify the following options:
ac_add_options --enable-application=suite
# Use the following to checkout SeaMonkey from CVS:
mk_add_options MOZ_CO_PROJECT=suite

Browser (Firefox)

Your .mozconfig file should source the Firefox
default mozconfig file:
. $topsrcdir/browser/config/mozconfig
Do not copy and paste the file's contents into your mozconfig, as they may change over time!


Mail (Thunderbird)

Your .mozconfig file should source the Thunderbird
default mozconfig file:
. $topsrcdir/mail/config/mozconfig
Do not copy and paste the file's contents into your mozconfig, as they may change over time!

Standalone Calendar (Sunbird)

Your .mozconfig file should source the Sunbird
default mozconfig file:
. $topsrcdir/calendar/sunbird/config/mozconfig
Do not copy and paste the file's contents into your mozconfig, as they may change over time!

XULRunner

Your .mozconfig file should source the XULRunner
default mozconfig file:
. $topsrcdir/xulrunner/config/mozconfig
Do not copy and paste the file's contents into your mozconfig, as they may change over time!


沒有留言: