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

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_7_RC3 tag in the CVS
repository (http://www.mozilla.org/cvs.html).

BuildID: 20040615

NOTE: CXXFLAGS="-features=tmplife" was used for this build. Please
see bug# 235381 for more information.

Installation notes:

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

      -R/usr/sfw/lib -R/opt/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/<arch>/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:
    Solaris 8 x86 Companion CD
    Sun C 5.5 Patch 112761-07 2004/03/31
    Sun C++ 5.5 Patch 113819-07 2004/03/23
    Sun Java SDK 1.4.1_05
    libIDL-0.6.8
    perl-5.8.1

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_7_RC3 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 --enable-svg
     ac_add_options --enable-svg-renderer-libart
     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
     ac_add_options --x-includes=/usr/openwin/include
     ac_add_options --x-libraries=/usr/openwin/lib
     mk_add_options BUILD_OFFICIAL=1
     mk_add_options MOZILLA_OFFICIAL=1
     mk_add_options MOZ_INTERNAL_LIBART_LGPL=1
    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
  $ MOZ_INTERNAL_LIBART_LGPL=1; export MOZ_INTERNAL_LIBART_LGPL
  $ 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"


