This build was produced on Sun Solaris 8 x86 02/02 platform and
is compatible with newer releases of Solaris (e.g., Solaris 9).

If you encounter any problem with the package, you may contact
Alan DuBoff <alan.duboff@sun.com> or John Weeks <john.weeks@sun.com>.
Please assign bugs to Bugzilla ID <john.weeks@sun.com>.

This build was made from the MOZILLA_1_5_RELEASE tag in the CVS
repository (http://www.mozilla.org/cvs.html).

BuildID: 20031020

Installation notes:

  * Executables are dynamically linked against GTK. For your convenience,
    the executables have been linked with:

      -R/opt/sfw/lib -R/usr/sfw/lib -R/usr/local/lib

    This will automatically reference the GTK libraries if they
    have been installed from the Solaris Companion CD
    (http://sunfreeware.com), or if you have loaded them in /usr/local/lib.

    Please note that Sun Studio 8 compiler was used for the build, i.e.,
    don't use GTK 1.2 shared objects built with GCC. 

  * This build does not include the Java bundle.  You will need to set
    up the link yourself in order to have Java support.  See example below: 

     $ cd <mozilla-installed-location>/plugins
     $ ln -s <java-installed-location>/jre/plugin/sparc/ns610/libjavaplugin_oji.so 
      
    You can install the latest version of Java from:
      
     http://java.com 
 
  * After installing all the files you must run mozilla as
    the user who installed the files (e.g. root if the files are owned by
    root) once to create the file `components.reg'.  If you don't,
    mozilla will crash on startup.  This is documented behavior that
    Netscape has so far declined to fix; see
    http://bugzilla.mozilla.org/show_bug.cgi?id=49345 for details.

  * If you get a lot of warnings on startup like

    Gdk-WARNING **: shmat failed!

    then you may want to increase your shared memory segment sizes.
    On Solaris 8, you can add the following lines to /etc/system and
    reboot:

  * Set for libgtk shared memory usage
     set shmsys:shminfo_shmmax = 8388608
     set shmsys:shminfo_shmmni = 0x1000
     set shmsys:shminfo_shmseg = 0x100

The following tools/libraries were used for compilation:
    Sun Studio C   5.5 2003/03/12
    Sun Studio C++ 5.5 2003/03/12
    freetype-2.1.4
    glib-1.2.10
    gtk+-1.2.10
    gzip-1.2.4
    libIDL-0.6.8
    make-3.80
    perl-5.8.1
    pkgconfig-0.15.0
    tar-1.13

The following commands were issued to check out and build the distribution:

  $ cvs -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_5_RELEASE mozilla/client.mk
  $ cd mozilla
  $ make -f client.mk checkout
  $ cat << EOF > .mozconfig
      ac_add_options --disable-tests
      ac_add_options --disable-debug
      ac_add_options --with-xprint
      ac_add_options --enable-xinerama
      ac_add_options --enable-ldap
      ac_add_options --enable-crypto
      ac_add_options --enable-x11-shm
      ac_add_options --enable-ctl
      ac_add_options --enable-calendar
      ac_add_options --without-system-nspr
      ac_add_options --without-system-zlib
      ac_add_options --without-system-jpeg
      ac_add_options --without-system-png
      ac_add_options --without-system-mng
    EOF

  $ MOZILLA_OFFICIAL=1; export MOZILLA_OFFICIAL
  $ BUILD_OFFICIAL=1; export BUILD_OFFICIAL
  $ NS_USE_NATIVE=1; export NS_USE_NATIVE
  $ CFLAGS="-O"; export CFLAGS
  $ CXXFLAGS="-O -norunpath"; export CXXFLAGS
  $ LDFLAGS="-R/opt/sfw/lib -R/usr/sfw/lib -R/usr/local/lib"; export LDFLAGS
  $ make -f client.mk build_all
  $ cd xpinstall/packager
  $ make MOZ_PKG_APPNAME="mozilla" MOZILLA_BIN="$(DIST)/bin/mozilla-bin"


