SeaMonkey on Solaris 10

[Image]
SeaMonkey with the Classic Netscape Theme

About SeaMonkey

SeaMonkey is the all-in-one internet application suite that features web browser, e-mail and newsgroup client, IRC chat client, HTML editor and web development tools. Even though you might not use all these features at once, you will appreciate the seamless integration and consistency of the various parts that make up the SeaMonkey internet suite.

Ready-made installation packages for SeaMonkey are available for most operating systems at SeaMonkey-Project.org. Hovever, if you want to use the very latest version of SeaMonkey on Solaris 10, then follow the instructions below to compile SeaMonkey directly from source code.

Install SeaMonkey

Prerequisites

In order to compile SeaMonkey, you will need Sun Studio 12 compiler. The compiler can be downloaded free of charge from Sun.com.

Install Sun Studio as root using the interactive installer

bunzip2 -c SunStudio12ml-solaris-x86-200709-pkg.tar.bz2 | tar xf -
./installer

Check for missing prerequisites as root

./prepare_system -C

If needed, install or update netbeans, or any other piece of software identified by prepare_system as root

./prepare_system -s netbeans

Done

GnuPG

GnuPG is a tool for signing emails, verifying signatures and encrypting email. Feel free to skip to the next section if you do not intend to use SeaMonkey as your mail client.

Download and compile GnuPG

wget ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-1.4.9.tar.bz2
bunzip2 -c gnupg-1.4.9.tar.bz2 | tar xf -
cd gnupg-1.4.9/
./configure --prefix=/opt/gnupg-1.4.9
gmake

Install GnuPG as root

gmake install
cd ..

Add GnuPG to path

PATH=$PATH:/opt/gnupg-1.4.9/bin

Done

Get SeaMonkey

Download SeaMonkey 1.1.15 source code.

Unpack source

umask 022
bunzip2 -c seamonkey-1.1.15.source.tar.bz2 | gtar xf -
cd mozilla

Done

Compile SeaMonkey

Choose compiler

CC=/opt/SUNWspro/bin/cc
CXX=/opt/SUNWspro/bin/CC
LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib"
export CC CXX LDFLAGS

Create mozconfig-seamonkey file to configure SeaMonkey

MOZCONFIG=`pwd`/mozconfig-seamonkey
export MOZCONFIG
cat > $MOZCONFIG <<EOF
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_MAKE_FLAGS=-j2
ac_add_options --enable-application=suite
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/suite-opt
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-crypto
ac_add_options --enable-static-mail
ac_add_options --enable-shared
ac_add_options --disable-static
ac_add_options --disable-libxul
ac_add_options --disable-tests
ac_add_options --prefix=/opt/seamonkey-1.1.15
ac_add_options --disable-auto-deps
EOF

Apply my patch for Solaris 10

wget http://softagalleria.net/download/seamonkey/seamonkey-1.1.15.diff
gpatch -p 1 -i seamonkey-1.1.15.diff

Compile (~1.5 hour)

time gmake -f client.mk build

Done

Enigmail

Enigmail allows you to use GnuPG from within SeaMonkey. Feel free to skip to the next section if you do not intend to use SeaMonkey mail, or have no need for secure mail.

Download Enigmail source code and unpack the source code to the SeaMonkey source directory

cd mailnews/extensions
wget http://www.mozilla-enigmail.org/download/source/enigmail-0.95.7.tar.gz
gunzip -c enigmail-0.95.7.tar.gz | tar xf -
cd enigmail

Build Enigmail

./makemake -r -o ../../../suite-opt
cd ../../../suite-opt/mailnews/extensions/enigmail
gmake
cd ../../../..

Done

Create Installer

Create SeaMonkey installation package

gmake -C suite-opt/xpinstall/packager

Done

Run Installer

Login as root, cd to the package directory where you run the above commands and install SeaMonkey

umask 022
bunzip2 -c suite-opt/dist/seamonkey-1.1.15.en-US.solaris2.10-i386.tar.bz2 | \
    ( cd /opt && tar xf - )
mv /opt/seamonkey /opt/seamonkey-1.1.15

You should now be able run SeaMonkey as

/opt/seamonkey-1.1.15/seamonkey

Done

Install Plugins

Web browsers, including SeaMonkey, use plugins to display animations and interactive content in web pages. This section provides instructions on installing some of the common plugins for SeaMonkey.

Flash Player 9

You will need Flash Player to play videos at youtube.com, for example. To install Flash Player 9 plugin, first download Flash Player Installation Package for Solaris 10.

Unpack installation package

umask 022
bunzip2 -c flash_player_9_solaris_x86.tar.bz2 | tar xf -

Cd to the flash_player_9 directory that was extracted from the installation package and install the plugin (note that the actual name of the directory depends on the version)

cd flash_player_9_solaris_r125_x86
cp libflashplayer.* /opt/seamonkey-1.1.15/plugins/

Be ware that Flash Player for Solaris is unstable and SeaMonkey may crash occasionally when viewing Flash videos. You might want to disable Flash plugin by default (see the section about click-to-load).

Done

Helix Player

Helix Player is needed to listen to RealAudio streams. You will need Helix Player to listen to BBC World News, for example.

To install Helix Player, first download an installation package from Helix Community.

Login as root, cd to the directory containing the package, and run the installer as

mkdir rp11
bunzip2 -c RealPlayer11Gold-x86.tar.bz2 | ( cd rp11 && tar xf - )
cd rp11
./Bin/setup

Using the installer, install Helix Player to /opt/realplay-11.0.0 directory. The installer will spew out lots of warnings, but these do not appear to cause any harm.

Install Helix Player plugin to SeaMonkey

cd /opt/seamonkey-1.1.15/plugins
ln -s /opt/realplay-11.0.0/mozilla/nphelix.so .
ln -s /opt/realplay-11.0.0/mozilla/nphelix.xpt .

Done

Java

Java is distributed along with Solaris 10 and you only need to set up SeaMonkey to use the installed Java plugin

cd /opt/seamonkey-1.1.15/plugins
ln -s /usr/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .

Your SeaMonkey should now be fully functional.

Complete

Version History

Aug 28, 2008: Verified that the instructions work for SeaMonkey 1.1.15.

Aug 21, 2008: Added instructions for compiling Enigmail and GnuPG.

Jul 15, 2008: Updated the instructions for SeaMonkey 1.1.10.

Mar 27, 2008: Updated the instructions for SeaMonkey 1.1.9.

Feb 27, 2008: Compiled SeaMonkey succesfully on Solaris 10 u4.