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 the 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

Get SeaMonkey

Download SeaMonkey 1.1.9 source code.

Unpack source

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

Done

Compile

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
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-static
ac_add_options --disable-shared
ac_add_options --disable-libxul
ac_add_options --disable-tests
ac_add_options --prefix=/opt/seamonkey-1.1.9
EOF

Apply my patch for Solaris 10

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

Compile (~5 hours)

time gmake -f client.mk build

Done

Create Installer

Create SeaMonkey installation package

gmake -C suite-opt/xpinstall/packager

Done

Install

Cd to the packege directory where you run the above commands and install the SeaMonkey as root

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

You should now be able run SeaMonkey as

/opt/seamonkey-1.1.9/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 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 and install

umask 022
bunzip2 -c flash_player_9_solaris_x86.tar.bz2 | tar xf -
cd flash_player_9_solaris_r47_x86/
cp libflashplayer.so /opt/seamonkey-1.1.9/plugins/

Be ware that Flash Player 9 for Solaris is unstable and it can make SeaMonkey crash occasionally. 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 on UNIX. For example, you will need Helix Player to listen to BBC World News.

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

Login as root, cd to the directory containing the package, and install Helix player as

chmod +x realplay-10.0.6.1386-sunos-5.10-i386-studio10.bin
./realplay-10.0.6.1386-sunos-5.10-i386-studio10.bin

Using the installer, install Helix Player to /opt/realplay-10.0.6 directory and create links under /usr directory, for example. The installer will warn about iconv.so but you may safely ignore the warning. The installer also tries to set up languages which may not be present in your system and you may ignore these warnings as well.

Install Helix Player plugin to SeaMonkey

cd /opt/seamonkey-1.1.9/plugins
ln -s /opt/realplay-10.0.6/mozilla/nphelix.so .
ln -s /opt/realplay-10.0.6/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.9/plugins
ln -s /usr/java/jre/plugin/i386/ns7/libjavaplugin_oji.so .

Your SeaMonkey should now be fully functional.

Complete

Version History

Mar 27, 2008: Published instructions for SeaMonkey 1.1.9.

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