You can build a bleeding-edge, development version of SeaMonkey using the commands below. For complete information, see the build documentation.
Installing build tools
If your system is not listed below, see the build prerequisites page.
|Ubuntu Linux:|| |
sudo apt-get build-dep seamonkey sudo apt-get install mercurial libasound2-dev libcurl4-openssl-dev libnotify-dev
|Fedora Linux:|| |
sudo yum groupinstall 'Development Tools' 'Development Libraries' 'GNOME Software Development' sudo yum install mercurial autoconf213
Problems? See Mac OS X build prerequisites.
Problems? See Windows build prerequisites.
Building SeaMonkey requires at least 2 GB of disk space and 256 MB of available RAM.
# Get the source hg clone http://hg.mozilla.org/comm-central/ cd comm-central python client.py checkout # Setup a basic .mozconfig file echo 'ac_add_options --enable-application=suite' > .mozconfig # let's build SeaMonkey... echo 'mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-sm-release' >> .mozconfig # ...in this directory... # USE THIS ONLY IF NOT ON WINDOWS! Parallel compilation on Windows is # unreliable now due to bug 524149. echo 'mk_add_options MOZ_MAKE_FLAGS="-j4"' >> .mozconfig # ...quickly. # Build # Note: This requires autoconf 2.13 (at least initially) make -f client.mk
- For a debug build, you need different configuration options in your
.mozconfigfile. This requires more disk space, about 3 GB, and twice as much available RAM.
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-sm-debug ac_add_options --enable-application=suite ac_add_options --enable-debug ac_add_options --disable-optimize
- Normally a shared build suffices for debugging purposes but current nightly releases are actually static builds which require even more memory to link. The support for libxul builds is still experimental but it should work if you --disable-mailnews.
- On Windows, the above commands will create the
%USERPROFILE%which will likely be some subfolder of
c:\Documents and Settingson XP or below. The space in this directory name, or in your user name if it contains one, will cause the configure script to break. To (possibly) fix this,
cdto a dir without spaces before doing the "
hg clone" command above.
The SeaMonkey executable can be found in
objdir-sm-release/mozilla/dist/bin/ (on Mac,
How to build again later
In your comm
-central directory, run these commands:
# Get the latest source python client.py checkout
Then just re-run the "
make -f client.mk" command above.
make will only recompile files that changed, but it's still a long haul. An incremental build can be faster.